summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/getopt.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 78253117f..0f7564f9f 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,4 +1,8 @@
2001-12-30 Christopher Faylor <cgf@redhat.com>
+
+ * include/getopt.h: Fix define.
+
+2001-12-30 Christopher Faylor <cgf@redhat.com>
Ralf Habacker <Ralf.Habacker@freenet.de>
* speclib: New file.
diff --git a/winsup/cygwin/include/getopt.h b/winsup/cygwin/include/getopt.h
index 7cbefbbb2..6b6f643b7 100644
--- a/winsup/cygwin/include/getopt.h
+++ b/winsup/cygwin/include/getopt.h
@@ -69,7 +69,7 @@ struct option {
int getopt_long (int, char *const *, const char *, const struct option *, int *);
#ifndef HAVE_DECL_GETOPT
-#define HAVE_DECL_GETOPT 0
+#define HAVE_DECL_GETOPT 1
#endif
#define no_argument 0