aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-10-13 13:26:41 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-10-13 13:26:41 +0000
commit0491a52ab684b26eaf1d36ca61e8a2f76babb696 (patch)
treef40518d300945b3320f9b1d41752dcc13f26842c /code/qcommon
parent6fb749991268c5ce6a8b7aa7c6fb1611e814e740 (diff)
downloadioquake3-aero-0491a52ab684b26eaf1d36ca61e8a2f76babb696.tar.gz
ioquake3-aero-0491a52ab684b26eaf1d36ca61e8a2f76babb696.zip
* Add required header on *BSD
git-svn-id: svn://svn.icculus.org/quake3/trunk@1198 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon')
-rw-r--r--code/qcommon/q_platform.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/code/qcommon/q_platform.h b/code/qcommon/q_platform.h
index 91a4c68..288e242 100644
--- a/code/qcommon/q_platform.h
+++ b/code/qcommon/q_platform.h
@@ -170,6 +170,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#ifdef __FreeBSD__
+#include <sys/types.h>
#include <machine/endian.h>
#define OS_STRING "freebsd"
@@ -196,6 +197,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#ifdef __OpenBSD__
+#include <sys/types.h>
#include <machine/endian.h>
#define OS_STRING "openbsd"
@@ -221,6 +223,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
// 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"