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

16 lines
446 B
Plaintext
Raw Normal View History

$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? */