openbsd-ports/net/ettercap/patches/patch-include_ec_stdint_h
okan 9da3b1852c update to 0.7.3 from brad@
testing and ok brad@ and merdely@
2008-04-23 20:49:46 +00:00

13 lines
443 B
Plaintext

$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