From 55434f8a75981707ac74941939ce5e938951b332 Mon Sep 17 00:00:00 2001 From: Chris Bagwell Date: Sun, 22 Feb 2009 05:08:56 +0000 Subject: [PATCH] Fix disabling getopt compile again. --- ChangeLog | 1 + lib/getopt.c | 1 + lib/getopt1.c | 1 + 3 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index e445d2da9..83f03eddc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ po, to use automake. * doc/Makefile.am: Get rid of unneeded gnu extensions to quieten down autotools warnings. + * lib/getopt.c, lib/getopt1.c: Fix disabling getopt compile again. 2009-03-20 m. allan noah * backend/avision.c: backend v290, fix reader_pid and NVRAM option diff --git a/lib/getopt.c b/lib/getopt.c index 534b09bee..997fa69b8 100644 --- a/lib/getopt.c +++ b/lib/getopt.c @@ -20,6 +20,7 @@ License along with the GNU C Library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +# include #if !defined(HAVE_GETOPT_H) || !defined(HAVE_GETOPT_LONG) /* This tells Alpha OSF/1 not to define a getopt prototype in . diff --git a/lib/getopt1.c b/lib/getopt1.c index 4796b9a84..8ae8a0579 100644 --- a/lib/getopt1.c +++ b/lib/getopt1.c @@ -17,6 +17,7 @@ License along with the GNU C Library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#include #if !defined(HAVE_GETOPT_H) || !defined(HAVE_GETOPT_LONG) #ifdef HAVE_CONFIG_H