From d456553fafbe42e6eab0b659f43c3c69b3f245db Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 23 Jun 1999 12:58:33 +0000 Subject: [PATCH] Update. * posix/getopt.h: Include stdio.h. --- ChangeLog | 2 ++ posix/getopt.h | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4dd8c27516..b063f05569 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 1999-06-23 Ulrich Drepper + * 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. is probably the most portable header + file and it does what we need. */ +#include + #ifdef __cplusplus extern "C" { #endif