X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=dummynet2%2Finclude%2Fsys%2Fqueue.h;fp=dummynet2%2Finclude%2Fsys%2Fqueue.h;h=36302185c067c4cf42379ffe98aa12c71963ced2;hb=40445faa1db58b90083115bc315d095e7eb2fe51;hp=8f06f1787864ec50b3a598b817a27369f5381fa1;hpb=fccf30d4bf6b00b317756a9ff9d2135b361d2599;p=ipfw.git diff --git a/dummynet2/include/sys/queue.h b/dummynet2/include/sys/queue.h index 8f06f17..3630218 100644 --- a/dummynet2/include/sys/queue.h +++ b/dummynet2/include/sys/queue.h @@ -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 */ \