From 4aad14d520e4f49cda984e0ab8ee9390463443f0 Mon Sep 17 00:00:00 2001 From: Volker Stolz Date: Thu, 13 May 2004 11:15:13 +0000 Subject: Fix 64-bit issues. PR: ports/66017 Submitted by: Andrew Belashov Approved by: maintainer --- net/wmnet2/files/patch-getopt.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/wmnet2/files/patch-getopt.c (limited to 'net/wmnet2/files/patch-getopt.c') 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) -- cgit v1.2.3