aboutsummaryrefslogtreecommitdiff
path: root/audio/shout/files/patch-sock.c
blob: dc3b47719cef844758d73ea70df63613004a5d24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- sock.c.orig	2000-04-20 07:31:50 UTC
+++ sock.c
@@ -12,8 +12,10 @@
 #include <process.h>
 #include <winbase.h>
 #else /*  *NIX  */
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
+#include <arpa/inet.h>
 #include <netdb.h>
 #include <fcntl.h>
 #include <sys/wait.h>
@@ -22,7 +24,6 @@
 #include <ctype.h>
 #include <stdarg.h>
 #include <errno.h>
-#include <arpa/inet.h>
 #include <sys/time.h>
 #include <unistd.h>
 #endif /* !win32 */