From 9a4b4fc2e36e6788191f28888098f0b8264706f2 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Thu, 27 Sep 2012 06:36:18 +0200 Subject: BSD header Windows compatibility changes --- compat/bsd/sys/queue.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'compat/bsd/sys') 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 - /* * 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 */ \ -- cgit v1.2.3