summaryrefslogtreecommitdiff
path: root/security/portscanner/files/patch-aa
blob: 8235c6ea8762973e84fa3df2515fba820ca6cfc2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- 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;