Mercurial > gnulib
view README @ 17317:2c4826afb7aa
unistd: avoid namespace pollution on non-glibc systems
* lib/unistd.in.h: #define __need_getopt before including <getopt.h>.
This avoids namespace pollution on non-glibc systems, by causing
gnulib unistd.h to behave more like glibc unistd.h. I also hope
that this fixes a bug on FreeBSD, reported by Mats Erik Andersson in
<http://lists.gnu.org/archive/html/bug-gnulib/2013-02/msg00027.html>.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Wed, 06 Feb 2013 16:11:07 -0800 |
parents | b1657348957e |
children | b4384fe86bd2 |