openbsd-ports/net/ettercap/patches/patch-include_ec_stdint_h

13 lines
443 B
Plaintext
Raw Normal View History

$OpenBSD: patch-include_ec_stdint_h,v 1.1 2008/04/23 20:49:46 okan Exp $
--- include/ec_stdint.h.orig Mon Mar 24 15:17:58 2008
+++ include/ec_stdint.h Mon Mar 24 15:22:33 2008
@@ -26,7 +26,7 @@
typedef uint32_t u_int32;
typedef uint64_t u_int64;
- #ifdef OS_BSD_OPEN
+ #if defined OS_BSD_OPEN && !defined HAVE_STDINT_H
#define INT8_MAX CHAR_MAX
#define UINT8_MAX UCHAR_MAX
#define INT16_MAX SHRT_MAX