blob: 1a3f0d101654b5e90db12d9b1932e61829421af2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-aa,v 1.4 2000/09/04 14:54:06 kim Exp $
--- ar.h.orig Sat May 1 00:04:22 1993
+++ ar.h Mon Sep 4 10:41:33 2000
@@ -15,11 +15,15 @@
/* uchar should be 8 bits or more */
/* typedef unsigned char uchar; -- already in zoo.h */
+#if !(defined(__FreeBSD__) && __FreeBSD__ < 3) && !defined(__OpenBSD__) && !defined(__NetBSD__)
typedef unsigned int uint; /* 16 bits or more */
#if !defined(__386BSD__) || !defined(_TYPES_H_)
typedef unsigned short ushort; /* 16 bits or more */
#endif
typedef unsigned long ulong; /* 32 bits or more */
+#else
+# include <sys/types.h>
+#endif
/* T_UINT16 must be #defined in options.h to be
a 16-bit unsigned integer type */
|