projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0777f5
)
Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/getopt.c
author
Roland McGrath
<roland@gnu.org>
Wed, 22 May 1996 22:23:17 +0000
(22:23 +0000)
committer
Roland McGrath
<roland@gnu.org>
Wed, 22 May 1996 22:23:17 +0000
(22:23 +0000)
posix/getopt.c
patch
|
blob
|
history
diff --git
a/posix/getopt.c
b/posix/getopt.c
index
fdc19c5
..
e4ae334
100644
(file)
--- 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. */