aboutsummaryrefslogtreecommitdiffstats
path: root/main/memcached/fix-bsd-headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/memcached/fix-bsd-headers.patch')
-rw-r--r--main/memcached/fix-bsd-headers.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/main/memcached/fix-bsd-headers.patch b/main/memcached/fix-bsd-headers.patch
new file mode 100644
index 00000000000..03d00e3a68d
--- /dev/null
+++ b/main/memcached/fix-bsd-headers.patch
@@ -0,0 +1,22 @@
+--- a/thread.c
++++ b/thread.c
+@@ -16,7 +16,7 @@
+ #include <string.h>
+ #include <pthread.h>
+
+-#include "queue.h"
++#include <sys/queue.h>
+
+ #ifdef __sun
+ #include <atomic.h>
+--- a/cache.h
++++ b/cache.h
+@@ -2,7 +2,7 @@
+ #ifndef CACHE_H
+ #define CACHE_H
+ #include <pthread.h>
+-#include "queue.h"
++#include <sys/queue.h>
+
+ #ifndef NDEBUG
+ /* may be used for debug purposes */