summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2003-05-09 23:15:49 +0000
committeranholt <anholt@FreeBSD.org>2003-05-09 23:15:49 +0000
commit3c2d3f6b5fbae272b07d1b9519ae3e3763eba227 (patch)
treee88a041bf87a0a63e77b422723312ca79ba44276
parent94c29e98fa0c8616b4ff4ef36a3e9c2dca426647 (diff)
downloadFreeBSD-ports-3c2d3f6b5fbae272b07d1b9519ae3e3763eba227.zip
FreeBSD-ports-3c2d3f6b5fbae272b07d1b9519ae3e3763eba227.tar.gz
Fix build on 4.x by including sys/types.h.
Reported by: kris (bento) Submitted by: Thierry Thomas <thierry@pompo.net> (maintainer)
-rw-r--r--games/torcs/files/patch-src::modules::simu::simuv2::SOLID-2.0::src::C-api.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/torcs/files/patch-src::modules::simu::simuv2::SOLID-2.0::src::C-api.cpp b/games/torcs/files/patch-src::modules::simu::simuv2::SOLID-2.0::src::C-api.cpp
new file mode 100644
index 0000000..f5f2274
--- /dev/null
+++ b/games/torcs/files/patch-src::modules::simu::simuv2::SOLID-2.0::src::C-api.cpp
@@ -0,0 +1,10 @@
+--- ./src/modules/simu/simuv2/SOLID-2.0/src/C-api.cpp.orig Sat Apr 19 11:46:43 2003
++++ ./src/modules/simu/simuv2/SOLID-2.0/src/C-api.cpp Sat May 10 00:19:56 2003
+@@ -40,6 +40,7 @@
+ #include "Polyhedron.h"
+ #include "Response.h"
+ #include "RespTable.h"
++#include <sys/types.h>
+
+ #include <map>
+ #include <set>
OpenPOWER on IntegriCloud