X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fdatabase.c;h=33a8615b7963e555b30b8e7866308835dc57dd7e;hb=0298dde5c47a900f2542bc7ec6c9dafc92ce3015;hp=2e07885e2218547bb5598a8f404d41a173ebfb53;hpb=ee38d21b330f5001b47a577cefb5ba7b82a3b7d3;p=chise%2Fxemacs-chise.git diff --git a/src/database.c b/src/database.c index 2e07885..33a8615 100644 --- a/src/database.c +++ b/src/database.c @@ -46,13 +46,21 @@ Boston, MA 02111-1307, USA. */ #define __BIT_TYPES_DEFINED__ #include #ifndef __FreeBSD__ +#if !HAVE_U_INT8_T typedef uint8_t u_int8_t; +#endif +#if !HAVE_U_INT16_T typedef uint16_t u_int16_t; +#endif +#if !HAVE_U_INT32_T typedef uint32_t u_int32_t; +#endif #ifdef WE_DONT_NEED_QUADS +#if !HAVE_U_INT64_T typedef uint64_t u_int64_t; #endif #endif /* WE_DONT_NEED_QUADS */ +#endif /* !defined(__FreeBSD__) */ #endif /* HAVE_INTTYPES_H */ #endif /* !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) */ /* Berkeley DB wants __STDC__ to be defined; else if does `#define const' */