summaryrefslogtreecommitdiff
path: root/devel/libevent/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libevent/patches/patch-ab')
-rw-r--r--devel/libevent/patches/patch-ab24
1 files changed, 24 insertions, 0 deletions
diff --git a/devel/libevent/patches/patch-ab b/devel/libevent/patches/patch-ab
new file mode 100644
index 00000000000..2285916b009
--- /dev/null
+++ b/devel/libevent/patches/patch-ab
@@ -0,0 +1,24 @@
+$NetBSD: patch-ab,v 1.3 2007/10/04 06:06:19 dmcmahill Exp $
+
+--- event.h.orig 2007-08-02 11:23:05.000000000 -0400
++++ event.h
+@@ -31,8 +31,18 @@
+ extern "C" {
+ #endif
+
++#include "config.h"
++
+ #include <sys/time.h>
+-#include <stdint.h>
++
++#ifdef HAVE_STDINT_H
++# include <stdint.h>
++#elif defined(HAVE_INTTYPES_H)
++# include <inttypes.h>
++#else
++# error No inttypes.h or stdint.h to give integer types
++#endif
++
+ #include <stdarg.h>
+
+ #ifdef WIN32