diff src/database.c @ 1453:908cd1ff6104

[xemacs-hg @ 2003-05-04 00:02:45 by youngs] 2003-05-04 Robert Pluim <rpluim@bigfoot.com> * database.c: Don't use the u_int8_t etc typedefs on FreeBSD, they conflict with <sys/types.h>.
author youngs
date Sun, 04 May 2003 00:02:48 +0000
parents 19738a2a5138
children df0effd42264
line wrap: on
line diff
--- a/src/database.c	Sat May 03 22:47:15 2003 +0000
+++ b/src/database.c	Sun May 04 00:02:48 2003 +0000
@@ -47,12 +47,14 @@
 #ifdef HAVE_INTTYPES_H
 #define __BIT_TYPES_DEFINED__
 #include <inttypes.h>
+#ifndef __FreeBSD__
 typedef uint8_t  u_int8_t;
 typedef uint16_t u_int16_t;
 typedef uint32_t u_int32_t;
 #ifdef WE_DONT_NEED_QUADS
 typedef uint64_t u_int64_t;
 #endif /* WE_DONT_NEED_QUADS */
+#endif /* __FreeBSD__ */
 #endif /* HAVE_INTTYPES_H */
 #endif /* !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) */
 #include DB_H_FILE              /* Berkeley db's header file */