summaryrefslogtreecommitdiff
path: root/lib/unistd.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unistd.in.h')
-rw-r--r--lib/unistd.in.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/unistd.in.h b/lib/unistd.in.h
index d5fa34dbe56..ed175bf8f2b 100644
--- a/lib/unistd.in.h
+++ b/lib/unistd.in.h
@@ -130,8 +130,8 @@
/* 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>
+# include <getopt_cdefs.h>
+# include <getopt_pfx_core.h>
#endif
#ifndef _GL_INLINE_HEADER_BEGIN