FreeBSD compatability fixes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-08-19 06:06:50 +00:00
parent fa073b7330
commit 04ca3568cb
3 changed files with 7 additions and 1 deletions

View File

@@ -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 */