* Add required header on *BSD

This commit is contained in:
Tim Angus 2007-10-13 13:26:41 +00:00
parent 6dffd08e74
commit 2bebaff8b4

View file

@ -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"