diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2009-10-28 16:31:59 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-02-27 21:09:16 +0200 |
commit | 50b83b3abecd87ffb8d35cdbda0860b15ce638cf (patch) | |
tree | 23e0ea2bfb5d56aad330ee972bf68ece55c6b0c0 /software/octdeviceapi | |
parent | b6dc0724315798a666573bda02b213110b8016b3 (diff) |
add some FreeBSD compatibilitydahdi
git-svn-id: http://svn.asterisk.org/svn/octasic_api/oct612x/trunk@43 537310ab-6354-42db-a3cc-247b777f7be6
Diffstat (limited to 'software/octdeviceapi')
-rw-r--r-- | software/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c | 5 | ||||
-rw-r--r-- | software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c | 5 |
2 files changed, 10 insertions, 0 deletions
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 <sys/types.h> +#include <dahdi/compat/bsd.h> +#else #include <linux/slab.h> +#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 <sys/types.h> +#include <dahdi/compat/bsd.h> +#else #include <linux/slab.h> +#endif #include "octdef.h" |