1998-11-18 21:29:24 +00:00
|
|
|
--- 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>
|
1998-11-17 20:46:44 +00:00
|
|
|
@@ -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;
|