From: Roland McGrath Date: Wed, 22 May 1996 22:23:17 +0000 (+0000) Subject: Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/getopt.c X-Git-Tag: cvs/libc-960523~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12fb2990d48f32e4b656a0335bcf020c7518292b;p=platform%2Fupstream%2Fglibc.git Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/getopt.c --- diff --git a/posix/getopt.c b/posix/getopt.c index fdc19c5..e4ae334 100644 --- a/posix/getopt.c +++ b/posix/getopt.c @@ -64,6 +64,19 @@ Cambridge, MA 02139, USA. */ #include #endif /* GNU C library. */ +#ifdef VMS +#include +#if HAVE_STRING_H - 0 +#include +#endif +#endif + +#ifdef WIN32 +/* It's not Unix, really. See? Capital letters. */ +#include +#define getpid() GetCurrentProcessId() +#endif + #ifndef _ /* This is for other GNU distributions with internationalized messages. When compiling libc, the _ macro is predefined. */