Skip to content

Commit

Permalink
Merge pull request FreeRDP#3402 from doughdemon/master
Browse files Browse the repository at this point in the history
Compile without <sys/queue.h>
  • Loading branch information
hardening authored Jul 5, 2016
2 parents 4a67ba8 + cd581cf commit 070b2c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions winpr/include/winpr/interlocked.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ extern "C" {

#ifndef _WIN32

#ifdef __IOS__
/* workaround for SLIST_ENTRY conflict */

#include <sys/queue.h>
#undef SLIST_ENTRY
#endif

#ifndef CONTAINING_RECORD
#define CONTAINING_RECORD(address, type, field) \
Expand Down

0 comments on commit 070b2c6

Please sign in to comment.