openbsd-ports/devel/sdl-net/patches/patch-SDLnetsys_h
mark cceea2dd2b + # GPL
+ update-patches
+ chop NEED_VERSION
2002-09-03 06:24:46 +00:00

16 lines
441 B
Plaintext

$OpenBSD: patch-SDLnetsys_h,v 1.2 2002/09/03 06:28:40 mark Exp $
--- SDLnetsys.h.orig Fri Dec 14 05:06:00 2001
+++ SDLnetsys.h Mon Sep 2 23:23:10 2002
@@ -49,6 +49,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? */