aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-23 12:58:33 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-23 12:58:33 +0000
commitd456553fafbe42e6eab0b659f43c3c69b3f245db (patch)
tree4d998e9da0f59fe8cbc3892093ebb33c01af4143
parent67994d6f6010739c22b1b4ab99aa88b4fe1ab8bd (diff)
downloadglibc-d456553fafbe42e6eab0b659f43c3c69b3f245db.tar
glibc-d456553fafbe42e6eab0b659f43c3c69b3f245db.tar.gz
glibc-d456553fafbe42e6eab0b659f43c3c69b3f245db.tar.bz2
glibc-d456553fafbe42e6eab0b659f43c3c69b3f245db.zip
Update.
* posix/getopt.h: Include stdio.h.
-rw-r--r--ChangeLog2
-rw-r--r--posix/getopt.h7
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4dd8c27516..b063f05569 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
1999-06-23 Ulrich Drepper <drepper@cygnus.com>
+ * posix/getopt.h: Include stdio.h.
+
* manual/arith.texi: Document restriction of ndigit parameter of
ecvt and friends.
* misc/efgcvt.c: Define NDIGIT_MAX.
diff --git a/posix/getopt.h b/posix/getopt.h
index b0147e9d2a..aec5d92a3d 100644
--- a/posix/getopt.h
+++ b/posix/getopt.h
@@ -1,5 +1,5 @@
/* Declarations for getopt.
- Copyright (C) 1989,90,91,92,93,94,96,97,98 Free Software Foundation, Inc.
+ Copyright (C) 1989,90,91,92,93,94,96,97,98,99 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -23,6 +23,11 @@
# define _GETOPT_H 1
#endif
+/* We include this here since on system susing GNU libc we need some
+ macros defined. <stdio.h> is probably the most portable header
+ file and it does what we need. */
+#include <stdio.h>
+
#ifdef __cplusplus
extern "C" {
#endif