blob: 7302234e8897e920600fca28076e42260a2b5c0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-am,v 1.3 2007/02/15 14:27:48 joerg Exp $
--- src/database.c.orig Thu Jun 19 12:34:42 2003
+++ src/database.c
@@ -45,14 +45,14 @@ Boston, MA 02111-1307, USA. */
#ifdef HAVE_INTTYPES_H
#define __BIT_TYPES_DEFINED__
#include <inttypes.h>
-#ifndef __FreeBSD__
+#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__))
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
#endif /* WE_DONT_NEED_QUADS */
+#endif /* !(__FreeBSD__ || __NetBSD__ || __OpenBSD__ || __DragonFly__) */
#endif /* HAVE_INTTYPES_H */
#endif /* !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) */
/* Berkeley DB wants __STDC__ to be defined; else if does `#define const' */
|