summaryrefslogtreecommitdiff
path: root/net-mgmt/seafile/files/patch-lib_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/seafile/files/patch-lib_utils.h')
-rw-r--r--net-mgmt/seafile/files/patch-lib_utils.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/net-mgmt/seafile/files/patch-lib_utils.h b/net-mgmt/seafile/files/patch-lib_utils.h
index eaf1dfeed44c..576b8854377f 100644
--- a/net-mgmt/seafile/files/patch-lib_utils.h
+++ b/net-mgmt/seafile/files/patch-lib_utils.h
@@ -1,5 +1,5 @@
---- lib/utils.h.orig 2014-06-05 02:25:50.000000000 -0400
-+++ lib/utils.h 2014-07-27 01:48:52.000000000 -0400
+--- lib/utils.h.orig 2014-08-05 01:28:35.000000000 -0400
++++ lib/utils.h 2014-11-11 11:30:51.843637061 -0500
@@ -3,6 +3,9 @@
#ifndef CCNET_UTILS_H
#define CCNET_UTILS_H
@@ -10,3 +10,14 @@
#include <sys/time.h>
#include <time.h>
#include <stdint.h>
+@@ -13,7 +16,9 @@
+ #include <stdlib.h>
+ #include <sys/stat.h>
+
+-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#if defined(__FreeBSD__) || defined(__DragonFly__)
++#include <evutil.h>
++#elif (__NetBSD__) || defined(__OpenBSD__)
+ #include <event2/util.h>
+ #else
+ #include <evutil.h>