summaryrefslogtreecommitdiff
path: root/db1-ast
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-08-19 06:06:50 +0000
committerMark Spencer <markster@digium.com>2003-08-19 06:06:50 +0000
commit04ca3568cba5b0bbbec42bb2db6ed4cda7707055 (patch)
treeb4dbae4e07bf09878175559ab059e74a688ea76e /db1-ast
parentfa073b73305b05a50886c28da6dbb9e8bae8f7ec (diff)
FreeBSD compatability fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'db1-ast')
-rwxr-xr-xdb1-ast/include/db.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/db1-ast/include/db.h b/db1-ast/include/db.h
index f00c4df9f..2a279b5aa 100755
--- a/db1-ast/include/db.h
+++ b/db1-ast/include/db.h
@@ -51,6 +51,7 @@
#ifndef __BIT_TYPES_DEFINED__
#define __BIT_TYPES_DEFINED__
+#ifndef __FreeBSD__
typedef __signed char int8_t;
typedef unsigned char u_int8_t;
typedef short int16_t;
@@ -61,6 +62,7 @@ typedef unsigned int u_int32_t;
typedef long long int64_t;
typedef unsigned long long u_int64_t;
#endif
+#endif /* __FreeBSD__ */
#endif
#define MAX_PAGE_NUMBER 0xffffffff /* >= # of pages in a file */