openbsd-ports/archivers/zoo/patches/patch-ad
brad 93d6a8d416 - replace ugliness in install target with BSD_INSTALL macros
- convert patches to unified diffs
- add patch to suppress some warnings
1999-12-16 04:31:40 +00:00

17 lines
532 B
Plaintext

--- ar.h.orig Wed Dec 15 23:20:47 1999
+++ ar.h Wed Dec 15 23:21:17 1999
@@ -15,11 +15,11 @@
/* uchar should be 8 bits or more */
/* typedef unsigned char uchar; -- already in zoo.h */
+#ifndef _SYS_TYPES_H_
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 */
+#endif
/* T_UINT16 must be #defined in options.h to be
a 16-bit unsigned integer type */