]> Savannah Git Hosting - gnulib.git/commit
getopt-posix: Fix compilation error in C++ mode (regression 2024-09-21).
authorBruno Haible <bruno@clisp.org>
Thu, 16 Jan 2025 22:10:10 +0000 (23:10 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 18 Jan 2025 08:37:26 +0000 (09:37 +0100)
commit9651872def00ee100ce8b52085901427e2aef735
tree9af4e86ebbbd3d0bbbac8a0f5f68d49d98f7c222
parent24ee7c2cc008e25337ea8d5a6cc947dcc0b5a286
getopt-posix: Fix compilation error in C++ mode (regression 2024-09-21).

Reported by G. Branden Robinson <g.branden.robinson@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2025-01/msg00135.html>.

* lib/getopt-pfx-core.h: On several platforms, include <unistd.h> first.
* modules/getopt-posix (Files): Add m4/musl.m4.
(configure.ac): Invoke gl_MUSL_LIBC.
ChangeLog
lib/getopt-pfx-core.h
modules/getopt-posix