r1198 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Oct 13 09:26:41 EDT 2007


Author: tma
Date: 2007-10-13 09:26:41 -0400 (Sat, 13 Oct 2007)
New Revision: 1198

Modified:
   trunk/code/qcommon/q_platform.h
Log:
* Add required header on *BSD


Modified: trunk/code/qcommon/q_platform.h
===================================================================
--- trunk/code/qcommon/q_platform.h	2007-10-13 12:03:47 UTC (rev 1197)
+++ trunk/code/qcommon/q_platform.h	2007-10-13 13:26:41 UTC (rev 1198)
@@ -170,6 +170,7 @@
 
 #ifdef __FreeBSD__
 
+#include <sys/types.h>
 #include <machine/endian.h>
 
 #define OS_STRING "freebsd"
@@ -196,6 +197,7 @@
 
 #ifdef __OpenBSD__
 
+#include <sys/types.h>
 #include <machine/endian.h>
 
 #define OS_STRING "openbsd"
@@ -221,6 +223,7 @@
 // This is very much like the FreeBSD one and can probably be merged
 #ifdef __NetBSD__
 
+#include <sys/types.h>
 #include <machine/endian.h>
 
 #define OS_STRING "netbsd"




More information about the quake3-commits mailing list