summary refs log tree commit diff
path: root/posix/getopt.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-05-22 22:23:17 +0000
committerRoland McGrath <roland@gnu.org>1996-05-22 22:23:17 +0000
commit12fb2990d48f32e4b656a0335bcf020c7518292b (patch)
tree1fda8dc3299a7f7d8d1f2a18dee6cbdd9bc6b219 /posix/getopt.c
parenta0777f516352fdfe7a46892c0e476b742dda368c (diff)
downloadglibc-12fb2990d48f32e4b656a0335bcf020c7518292b.tar.gz
glibc-12fb2990d48f32e4b656a0335bcf020c7518292b.tar.xz
glibc-12fb2990d48f32e4b656a0335bcf020c7518292b.zip
Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/getopt.c
Diffstat (limited to 'posix/getopt.c')
-rw-r--r--posix/getopt.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/posix/getopt.c b/posix/getopt.c
index fdc19c5a7f..e4ae3340e8 100644
--- a/posix/getopt.c
+++ b/posix/getopt.c
@@ -64,6 +64,19 @@ Cambridge, MA 02139, USA.  */
 #include <unistd.h>
 #endif	/* GNU C library.  */
 
+#ifdef VMS
+#include <unixlib.h>
+#if HAVE_STRING_H - 0
+#include <string.h>
+#endif
+#endif
+
+#ifdef WIN32
+/* It's not Unix, really.  See?  Capital letters.  */
+#include <windows.h>
+#define getpid() GetCurrentProcessId()
+#endif
+
 #ifndef _
 /* This is for other GNU distributions with internationalized messages.
    When compiling libc, the _ macro is predefined.  */