aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/platform.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/platform.h b/src/include/platform.h
index 0dddd9741..976c9eac7 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -115,11 +115,10 @@
115#include <time.h> 115#include <time.h>
116#endif 116#endif
117#endif 117#endif
118 118#ifdef BSD
119#ifdef SOMEBSD
120#include <net/if.h> 119#include <net/if.h>
121#endif 120#endif
122#ifdef FREEBSD 121#if defined(BSD) && defined(__FreeBSD__) && defined(__FreeBSD_kernel__)
123#include <semaphore.h> 122#include <semaphore.h>
124#endif 123#endif
125#ifdef DARWIN 124#ifdef DARWIN
@@ -188,7 +187,8 @@
188 187
189#include <sys/mman.h> 188#include <sys/mman.h>
190 189
191#ifdef FREEBSD 190/* FreeBSD_kernel is not defined on the now discontinued kFreeBSD */
191#if defined(BSD) && defined(__FreeBSD__) && defined(__FreeBSD_kernel__)
192#define __BYTE_ORDER BYTE_ORDER 192#define __BYTE_ORDER BYTE_ORDER
193#define __BIG_ENDIAN BIG_ENDIAN 193#define __BIG_ENDIAN BIG_ENDIAN
194#endif 194#endif