73af409460
- getopt returns -1, not EOF
21 lines
450 B
Plaintext
21 lines
450 B
Plaintext
$OpenBSD: patch-net_c,v 1.1 2002/07/23 17:58:56 pvalchev Exp $
|
|
--- net.c.orig Mon Apr 13 03:09:26 1998
|
|
+++ net.c Tue Jul 23 11:52:31 2002
|
|
@@ -1,13 +1,15 @@
|
|
-
|
|
#include <stdio.h>
|
|
#include <sys/types.h>
|
|
#include <sys/socket.h>
|
|
#include <netinet/in.h>
|
|
+#include <arpa/inet.h>
|
|
#include <netdb.h>
|
|
#include <sys/time.h>
|
|
#include <sys/stat.h>
|
|
#include <unistd.h>
|
|
+#include <string.h>
|
|
#include <fcntl.h>
|
|
+#include <ctype.h>
|
|
|
|
extern int h_errno;
|
|
|