From e9cf5b4ebad8a8fec8d05db10e3a4f584af35833 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 7 Sep 2001 04:41:13 +0000 Subject: [PATCH] include sys/types.h for freebsd --- libs/audio/targets/snd_oss.c | 1 + nq/source/net_udp.c | 1 + qw/source/cl_main.c | 2 +- qw/source/cl_slist.c | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/audio/targets/snd_oss.c b/libs/audio/targets/snd_oss.c index f75d2086f..8de00e50e 100644 --- a/libs/audio/targets/snd_oss.c +++ b/libs/audio/targets/snd_oss.c @@ -29,6 +29,7 @@ #ifdef HAVE_CONFIG_H # include "config.h" #endif +#include #ifdef HAVE_SYS_IOCTL_H # include #endif diff --git a/nq/source/net_udp.c b/nq/source/net_udp.c index 1f7ab6b31..498d69e4d 100644 --- a/nq/source/net_udp.c +++ b/nq/source/net_udp.c @@ -29,6 +29,7 @@ #ifdef HAVE_CONFIG_H # include "config.h" #endif +#include #ifdef HAVE_STRING_H # include #endif diff --git a/qw/source/cl_main.c b/qw/source/cl_main.c index 29522d957..8d367762e 100644 --- a/qw/source/cl_main.c +++ b/qw/source/cl_main.c @@ -34,6 +34,7 @@ #ifdef HAVE_CONFIG_H # include "config.h" #endif +#include #ifdef HAVE_STRING_H # include #endif @@ -56,7 +57,6 @@ #include #include #include -#include #ifdef __sun # undef model_t // allow qf to use it's model_t diff --git a/qw/source/cl_slist.c b/qw/source/cl_slist.c index 793bc9f98..275c2061c 100644 --- a/qw/source/cl_slist.c +++ b/qw/source/cl_slist.c @@ -33,6 +33,7 @@ #ifdef HAVE_CONFIG_H # include "config.h" #endif +#include #ifdef HAVE_NETINET_IN_H # include #endif