]> 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>
Thu, 16 Jan 2025 22:16:05 +0000 (23:16 +0100)
commit38197bf86dc80271af8992a4121d9497bccd265c
tree906a4f34f87a2e9403e42568695371edbd436b91
parent61ae48f5083c5f5dec6bab1f04f10ec3d4373bb5
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