changeset 2493:ec25549f1f43

[xemacs-hg @ 2005-01-21 09:58:40 by aidan] Small warning fix for NetBSD, w.r.t. u_int_8_t being redefined.
author aidan
date Fri, 21 Jan 2005 09:58:42 +0000
parents 6780963faf78
children bd98c3f9e578
files src/ChangeLog src/database.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Jan 21 09:43:12 2005 +0000
+++ b/src/ChangeLog	Fri Jan 21 09:58:42 2005 +0000
@@ -1,3 +1,8 @@
+2005-01-21  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* database.c: Small warning fix for NetBSD, w.r.t. u_int_8_t being
+	redefined.
+
 2005-01-20  Malcolm Purvis  <malcolmp@xemacs.org>
 
 	* event-gtk.c: Recognise AltGr as a valid modifier.
--- a/src/database.c	Fri Jan 21 09:43:12 2005 +0000
+++ b/src/database.c	Fri Jan 21 09:58:42 2005 +0000
@@ -47,7 +47,7 @@
 #ifdef HAVE_INTTYPES_H
 #define __BIT_TYPES_DEFINED__
 #include <inttypes.h>
-#ifndef __FreeBSD__
+##if !defined(__FreeBSD__) && !defined(__NetBSD__)
 typedef uint8_t  u_int8_t;
 typedef uint16_t u_int16_t;
 typedef uint32_t u_int32_t;