72c46a20eb
General difference (for ports infrastructure): - switch to cmake build system - drop external lua and use internal patched version - set SEPARATE_BUILD=flavored to avoid extracting a lot of data for every arch - removed superfluous dependency to devel/sdl - drop tinygui FLAVOR Full changelog is here: http://svn.gna.org/viewcvs/*checkout*/wesnoth/tags/1.10.0/changelog OKs from jasper@ (maintainer), aja@, pascal@, cmake-wise OK from dcoppa@ Positive feedback from Antti Harri and Bryan Linton via ports@
17 lines
442 B
Plaintext
17 lines
442 B
Plaintext
$OpenBSD: patch-src_network_hpp,v 1.2 2012/04/07 08:32:32 kirby Exp $
|
|
Make sure netinet/in.h is included before SDL_net.h to
|
|
avoid redefining INADDR_ANY/NONE/BROADCAST in SDL header
|
|
--- src/network.hpp.orig Sat Jan 7 06:35:17 2012
|
|
+++ src/network.hpp Mon Feb 13 17:38:58 2012
|
|
@@ -23,6 +23,10 @@
|
|
|
|
class config;
|
|
|
|
+#include <sys/types.h>
|
|
+#include <sys/socket.h>
|
|
+#include <netinet/in.h>
|
|
+
|
|
#include "exceptions.hpp"
|
|
#include "SDL_net.h"
|
|
|