aboutsummaryrefslogtreecommitdiff
path: root/posix/getopt.h
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 /posix/getopt.h
parent67994d6f6010739c22b1b4ab99aa88b4fe1ab8bd (diff)
downloadglibc-d456553fafbe42e6eab0b659f43c3c69b3f245db.tar
glibc-d456553fafbe42e6eab0b659f43c3c69b3f245db.tar.gz
glibc-d456553fafbe42e6eab0b659f43c3c69b3f245db.tar.bz2
glibc-d456553fafbe42e6eab0b659f43c3c69b3f245db.zip
Update.
* posix/getopt.h: Include stdio.h.
Diffstat (limited to 'posix/getopt.h')
-rw-r--r--posix/getopt.h7
1 files changed, 6 insertions, 1 deletions
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