Sync with the new ipfw3 version.
[ipfw.git] / dummynet2 / include / sys / queue.h
index 8f06f17..3630218 100644 (file)
@@ -144,6 +144,9 @@ struct name {                                                               \
 #define        SLIST_HEAD_INITIALIZER(head)                                    \
        { NULL }
 
+#if defined( _WIN32 ) && defined(SLIST_ENTRY)
+#undef SLIST_ENTRY
+#endif
 #define        SLIST_ENTRY(type)                                               \
 struct {                                                               \
        struct type *sle_next;  /* next element */                      \