summaryrefslogtreecommitdiff
path: root/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c')
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c
index 0afcc40..00c0fec 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c
@@ -33,7 +33,12 @@ $Octasic_Revision: 347 $
/***************************** INCLUDE FILES *******************************/
+#if defined(__FreeBSD__)
+#include <sys/types.h>
+#include <dahdi/compat/bsd.h>
+#else
#include <linux/slab.h>
+#endif
#include "octdef.h"