From: Nick Mathewson Date: Fri, 2 Nov 2012 23:38:21 +0000 (-0400) Subject: Add an SLIST_ENTRY definition back on non-win32 X-Git-Tag: tor-0.2.4.6-alpha~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e5ca5040a56b74f3d0de82d74946f0d9c7d44cc3;p=thirdparty%2Ftor.git Add an SLIST_ENTRY definition back on non-win32 Otherwise we break openbsd headers. Fixes bug 7293; bug not on any released Tor. --- diff --git a/src/ext/tor_queue.h b/src/ext/tor_queue.h index 98d6b98858..595e4a3423 100644 --- a/src/ext/tor_queue.h +++ b/src/ext/tor_queue.h @@ -105,6 +105,9 @@ struct name { \ struct { \ struct type *sle_next; /* next element */ \ } +#ifndef _WIN32 +#define SLIST_ENTRY(type) TOR_SLIST_ENTRY(type) +#endif /* * Singly-linked List access methods.