openbsd-ports/devel/sdl-net/patches/patch-SDLnetsys_h

15 lines
338 B
Plaintext
Raw Normal View History

--- SDLnetsys.h.orig Sun Apr 15 21:43:16 2001
+++ SDLnetsys.h Sun Apr 15 21:45:42 2001
@@ -48,6 +48,11 @@
#include <unistd.h>
#include <fcntl.h>
#ifndef __BEOS__
+#ifdef __OpenBSD__
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#endif /* OpenBSD */
#include <arpa/inet.h>
#endif
#include <netinet/in.h>