projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unistd: avoid namespace pollution on non-glibc systems
[gnulib.git]
/
lib
/
unistd.in.h
diff --git
a/lib/unistd.in.h
b/lib/unistd.in.h
index
7cc022d
..
8a25aa4
100644
(file)
--- a/
lib/unistd.in.h
+++ b/
lib/unistd.in.h
@@
-110,6
+110,7
@@
/* Get getopt(), optarg, optind, opterr, optopt.
But avoid namespace pollution on glibc systems. */
#if @GNULIB_UNISTD_H_GETOPT@ && !defined __GLIBC__ && !defined _GL_SYSTEM_GETOPT
+# define __need_getopt
# include <getopt.h>
#endif