nixpkgs/pkgs/tools/misc/getopt
Randy Eckenrode b7d4d9f519
getopt: fix build on clang 16
Normally, when getopt builds on a non-glibc platform, it uses C library
headers without including them. That’s fine unless your compiler is
clang 16, which is strict about using functions without prototypes.
Fortunately, Darwin’s headers are compatible enough as are Musl’s, so
defining `__GNU_LIBRARY__` can be done unconditionally.
2023-06-01 21:02:49 -04:00
..
default.nix