diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2009-03-12 15:13:11 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2009-03-12 15:13:11 +0100 |
commit | bcce1233902dc7a94623b3a90cd7920c44f22474 (patch) | |
tree | 35098589ae46a13ab212e74fc6b0b710a44bbcb3 /getopt1.c | |
parent | 068f401ee314e2274b58adbc1256286ae7a56f9f (diff) | |
download | patch-2.2.tar.gz |
Import of patch-2.2.tar.gzv2.2
Diffstat (limited to 'getopt1.c')
-rw-r--r-- | getopt1.c | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -1,5 +1,5 @@ /* getopt_long and getopt_long_only entry points for GNU getopt. - Copyright (C) 1987, 88, 89, 90, 91, 92, 1993 + Copyright (C) 1987, 88, 89, 90, 91, 92, 1993, 1994 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it @@ -14,17 +14,22 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include <config.h> #endif #include "getopt.h" -#if !__STDC__ && !defined(const) && IN_GCC +#if !defined (__STDC__) || !__STDC__ +/* This is a separate conditional since some stdc systems + reject `defined (const)'. */ +#ifndef const #define const #endif +#endif #include <stdio.h> |