1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/security/portscanner/files/patch-aa
Bill Fumerola 0ac60094f0 Fix ports/net/portscanner for 3.0-* people.
PR:		ports/8737
Reviewed by:	Bill Fumerola <billf@FreeBSD.org>
Submitted by:	Osokin Sergey <osa@freebsd.org.ru>
1998-11-18 21:29:24 +00:00

24 lines
581 B
Plaintext

--- portscanner.c.old Wed Nov 18 16:25:41 1998
+++ portscanner.c Wed Nov 18 16:25:53 1998
@@ -24,10 +24,10 @@
/***********************************************************/
#include <stdio.h>
+#include <unistd.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
-#include <unistd.h>
#include <netdb.h>
#include <sys/time.h>
#include <fcntl.h>
@@ -35,7 +35,7 @@
int sock = -1;
struct sockaddr_in address;
int result;
-extern char *sys_errlist[];
+/* extern char *sys_errlist[]; */
extern int errno;
int current_port = 0;
u_short base_port = 0;