aboutsummaryrefslogtreecommitdiff
path: root/posix/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/getopt.h')
-rw-r--r--posix/getopt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/getopt.h b/posix/getopt.h
index c8950ee..47a601e 100644
--- a/posix/getopt.h
+++ b/posix/getopt.h
@@ -136,7 +136,7 @@ extern int getopt (int argc, char *const *argv, const char *shortopts);
extern int getopt ();
# endif /* __GNU_LIBRARY__ */
-# ifdef __need_getopt
+# ifndef __need_getopt
extern int getopt_long (int argc, char *const *argv, const char *shortopts,
const struct option *longopts, int *longind);
extern int getopt_long_only (int argc, char *const *argv,