X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fdatabase.c;h=2edbee456d4e3a933a51b8c4e5104760cfb13740;hb=767a4d3c6cc84c530d28f5fa02f51c23ccd29f4e;hp=47f4f703087c222f17e98ee2ac112a7bf395790d;hpb=e7d7f659739435dc2ed5af83f6eb4f269e3192f7;p=chise%2Fxemacs-chise.git.1 diff --git a/src/database.c b/src/database.c index 47f4f70..2edbee4 100644 --- a/src/database.c +++ b/src/database.c @@ -43,9 +43,10 @@ Boston, MA 02111-1307, USA. */ /* glibc 2.1 doesn't have this problem with DB 2.x */ #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) #ifdef HAVE_INTTYPES_H +#ifndef __BIT_TYPES_DEFINED__ #define __BIT_TYPES_DEFINED__ +#endif #include -#ifndef __FreeBSD__ #if !HAVE_U_INT8_T typedef uint8_t u_int8_t; #endif @@ -60,7 +61,6 @@ typedef uint32_t u_int32_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' */