From 50b83b3abecd87ffb8d35cdbda0860b15ce638cf Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Wed, 28 Oct 2009 16:31:59 +0000 Subject: add some FreeBSD compatibility git-svn-id: http://svn.asterisk.org/svn/octasic_api/oct612x/trunk@43 537310ab-6354-42db-a3cc-247b777f7be6 --- software/include/octtype.h | 4 ++++ software/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c | 5 +++++ software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c | 5 +++++ 3 files changed, 14 insertions(+) diff --git a/software/include/octtype.h b/software/include/octtype.h index 9cba68f..7bed715 100644 --- a/software/include/octtype.h +++ b/software/include/octtype.h @@ -140,7 +140,11 @@ typedef unsigned int * PUINT; typedef PSZ * PPSZ; +#if defined(__FreeBSD__) +#include +#else #include +#endif #endif diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c index 0fe36d5..49a876f 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c @@ -32,7 +32,12 @@ $Octasic_Revision: 492 $ /***************************** INCLUDE FILES *******************************/ +#if defined(__FreeBSD__) +#include +#include +#else #include +#endif #include "octdef.h" 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 +#include +#else #include +#endif #include "octdef.h" -- cgit v1.2.3