openbsd-ports/devel/sdl-net/patches/patch-SDLnetsys_h
ajacoutot 2d423dc45d - update to sdl-net-1.2.7
- remove jolan@ from maintainer as per his request
2008-06-18 11:18:44 +00:00

16 lines
446 B
Plaintext

$OpenBSD: patch-SDLnetsys_h,v 1.3 2008/06/18 11:18:44 ajacoutot Exp $
--- SDLnetsys.h.orig Mon May 1 09:25:58 2006
+++ SDLnetsys.h Tue Jun 17 09:57:05 2008
@@ -53,6 +53,11 @@
#include <fcntl.h>
#include <netinet/in.h>
#ifndef __BEOS__
+#ifdef __OpenBSD__
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#endif /* OpenBSD */
#include <arpa/inet.h>
#endif
#ifdef linux /* FIXME: what other platforms have this? */