Merge pull request #3402 from doughdemon/master

Compile without <sys/queue.h>
This commit is contained in:
David Fort 2016-07-05 15:35:41 +02:00 committed by GitHub
commit 070b2c6f38

View File

@ -31,10 +31,12 @@ extern "C" {
#ifndef _WIN32 #ifndef _WIN32
#ifdef __IOS__
/* workaround for SLIST_ENTRY conflict */ /* workaround for SLIST_ENTRY conflict */
#include <sys/queue.h> #include <sys/queue.h>
#undef SLIST_ENTRY #undef SLIST_ENTRY
#endif
#ifndef CONTAINING_RECORD #ifndef CONTAINING_RECORD
#define CONTAINING_RECORD(address, type, field) \ #define CONTAINING_RECORD(address, type, field) \