mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
14 lines
373 B
C
14 lines
373 B
C
--- SDLnetsys.h.orig 2012-01-15 16:20:10 UTC
|
|
+++ SDLnetsys.h
|
|
@@ -54,6 +54,11 @@ typedef int socklen_t;
|
|
#include <fcntl.h>
|
|
#include <netinet/in.h>
|
|
#ifndef __BEOS__
|
|
+#ifdef __FreeBSD__
|
|
+#include <sys/types.h>
|
|
+#include <sys/socket.h>
|
|
+#include <netinet/in.h>
|
|
+#endif /* FreeBSD */
|
|
#include <arpa/inet.h>
|
|
#endif
|
|
#ifdef linux /* FIXME: what other platforms have this? */
|