(getopt.h) move to src/lib/gen directory to prevent conflicts with

/usr/include/getopt.h.
This commit is contained in:
Ron Koenderink 2004-12-15 14:02:07 +00:00
parent ebb9a16af1
commit fd700f235b
3 changed files with 181 additions and 183 deletions

View file

@ -1,4 +1,3 @@
#if defined(_WIN32)
/* Declarations for getopt. /* Declarations for getopt.
Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc. Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
@ -179,4 +178,3 @@ extern int _getopt_internal ();
#undef __need_getopt #undef __need_getopt
#endif /* getopt.h */ #endif /* getopt.h */
#endif

View file

@ -48,7 +48,7 @@
#if defined(_WIN32) #if defined(_WIN32)
#include <winsock.h> #include <winsock.h>
#include <process.h> #include <process.h>
#include "getopt.h" #include "../lib/gen/getopt.h"
#endif #endif
#include "misc.h" #include "misc.h"

View file

@ -44,7 +44,7 @@
#include <sys/file.h> #include <sys/file.h>
#else #else
#include <direct.h> #include <direct.h>
#include "getopt.h" #include "../lib/gen/getopt.h"
#endif #endif
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>