]> 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:17:29 +0000 (09:17 +0100)
commit204dd37985da356aa3b11b93df6cab5ac9e3c2ea
tree743ce09860f29b528b1980ce0b8c3361f13156de
parenta960b3d8d9ba437ef2fdef7bcbfbc6b9ef8ed823
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