aboutsummaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-09-27 06:36:18 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-09-27 06:36:18 +0200
commit9a4b4fc2e36e6788191f28888098f0b8264706f2 (patch)
treefdbda938c0f233f045e3355c99b5bf4bdcc21ae2 /compat
parenta79655273be421852f02abf0527886d73ef4b301 (diff)
downloadosc-graphics-9a4b4fc2e36e6788191f28888098f0b8264706f2.tar.gz
BSD header Windows compatibility changes
Diffstat (limited to 'compat')
-rw-r--r--compat/bsd/sys/queue.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/compat/bsd/sys/queue.h b/compat/bsd/sys/queue.h
index f1f35c8..041bb73 100644
--- a/compat/bsd/sys/queue.h
+++ b/compat/bsd/sys/queue.h
@@ -33,8 +33,6 @@
#ifndef _SYS_QUEUE_H_
#define _SYS_QUEUE_H_
-#include <sys/cdefs.h>
-
/*
* This file defines four types of data structures: singly-linked lists,
* singly-linked tail queues, lists and tail queues.
@@ -145,6 +143,9 @@ struct name { \
#define SLIST_HEAD_INITIALIZER(head) \
{ NULL }
+#ifdef SLIST_ENTRY
+#undef SLIST_ENTRY
+#endif
#define SLIST_ENTRY(type) \
struct { \
struct type *sle_next; /* next element */ \