aports/main/memcached/fix-bsd-headers.patch
2021-09-28 05:53:18 +00:00

23 lines
374 B
Diff

--- 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 */