Support NetBSD.

This commit is contained in:
scw 2005-10-01 10:23:28 +00:00
parent 69e548cab0
commit 0f8d25cdc3

View File

@ -5,7 +5,7 @@
#include <endian.h> #include <endian.h>
#include <byteswap.h> #include <byteswap.h>
#endif #endif
#ifdef __FreeBSD__ #if defined(__FreeBSD__) || defined(__NetBSD__)
#include <sys/types.h> #include <sys/types.h>
#include <sys/endian.h> #include <sys/endian.h>
#define __BYTE_ORDER _BYTE_ORDER #define __BYTE_ORDER _BYTE_ORDER