]> Savannah Git Hosting - gnulib.git/commit
getopt-posix: Fix build failure when using ac_cv_header_getopt_h=no.
authorBruno Haible <bruno@clisp.org>
Mon, 9 Oct 2017 14:33:00 +0000 (16:33 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 9 Oct 2017 14:33:00 +0000 (16:33 +0200)
commit180a0d70d117a9da652fa1aa17fff9537b082c2c
tree3532e8cd0b26dcfa5c646412fe5bb5212e6dccbd
parent47104b9c0ecd2f3fbd5350fcdf60921f4ab9dd23
getopt-posix: Fix build failure when using ac_cv_header_getopt_h=no.

Reported by Christian Ehrhardt <christian.ehrhardt@canonical.com>
and Daniel P. Berrange <berrange@redhat.com>.

* lib/unistd.in.h (getopt): Don't attempt to avoid namespace pollution
on glibc systems. The getopt-pfx-core.h file declares exactly what
unistd.h needs, nothing more.
ChangeLog
lib/unistd.in.h