- these patches (or chunks) are not needed anymore since arpa/inet.h -r1.12

This commit is contained in:
jasper 2012-06-26 13:41:12 +00:00
parent 3edb03dd8f
commit fdb3149800
2 changed files with 2 additions and 22 deletions

View File

@ -1,18 +1,6 @@
$OpenBSD: patch-src_Core_Debug_OODebugTCPConsoleClient_m,v 1.2 2011/01/15 10:13:23 sebastia Exp $
fix: 'struct in_addr' declared inside parameter list
$OpenBSD: patch-src_Core_Debug_OODebugTCPConsoleClient_m,v 1.3 2012/06/26 13:41:12 jasper Exp $
--- src/Core/Debug/OODebugTCPConsoleClient.m.orig Sun Aug 30 13:40:23 2009
+++ src/Core/Debug/OODebugTCPConsoleClient.m Fri Jan 14 13:22:16 2011
@@ -40,6 +40,8 @@ SOFTWARE.
#if OOLITE_WINDOWS
#import <winsock2.h>
#else
+#include <sys/types.h>
+#include <netinet/in.h>
#import <arpa/inet.h> // For htonl
#endif
@@ -157,7 +159,7 @@ OOINLINE BOOL StatusIsSendable(OOTCPClientConnectionSt
// Attempt to connect
parameters = [NSDictionary dictionaryWithObjectsAndKeys:

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-wordwarvi_c,v 1.1.1.1 2011/06/13 20:33:19 kili Exp $
$OpenBSD: patch-wordwarvi_c,v 1.2 2012/06/26 13:41:12 jasper Exp $
--- wordwarvi.c.orig Tue May 24 23:48:26 2011
+++ wordwarvi.c Tue May 24 23:49:42 2011
@@ -18,9 +18,10 @@
@ -13,11 +13,3 @@ $OpenBSD: patch-wordwarvi_c,v 1.1.1.1 2011/06/13 20:33:19 kili Exp $
/* Apple gets what it needs for malloc from stdlib.h, */
/* or so the internets would have me believe. I don't */
/* have a mac to test this, so if this doesn't work, */
@@ -37,6 +38,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <netinet/in.h>
#include <arpa/inet.h> /* for htonl, etc. */
#include <gdk/gdkkeysyms.h>