summaryrefslogtreecommitdiff
path: root/net/wmnet2/files/patch-getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/wmnet2/files/patch-getopt.c')
-rw-r--r--net/wmnet2/files/patch-getopt.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/wmnet2/files/patch-getopt.c b/net/wmnet2/files/patch-getopt.c
new file mode 100644
index 000000000000..e40f83fa564e
--- /dev/null
+++ b/net/wmnet2/files/patch-getopt.c
@@ -0,0 +1,11 @@
+--- getopt.c.orig Fri Oct 9 10:59:00 1998
++++ getopt.c Tue Apr 27 09:57:46 2004
+@@ -209,6 +209,8 @@
+
+ char *getenv ();
+ extern int strncmp(const char *s1, const char *s2, size_t len);
++extern int strcmp(const char *, const char *);
++extern size_t strlen(const char *);
+
+ static char *
+ my_index (str, chr)