1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/security/portscanner/files/patch-aa

24 lines
581 B
Plaintext
Raw Normal View History

--- 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;