aboutsummaryrefslogtreecommitdiff
path: root/src/ext
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-11-02 19:38:21 -0400
committerNick Mathewson <nickm@torproject.org>2012-11-03 20:18:43 -0400
commite5ca5040a56b74f3d0de82d74946f0d9c7d44cc3 (patch)
treec00269e61b4593cb37dd1b94bd85665078e04477 /src/ext
parent05194cce626ee40770ffa1772b78f2b728addf33 (diff)
downloadtor-e5ca5040a56b74f3d0de82d74946f0d9c7d44cc3.tar
tor-e5ca5040a56b74f3d0de82d74946f0d9c7d44cc3.tar.gz
Add an SLIST_ENTRY definition back on non-win32
Otherwise we break openbsd headers. Fixes bug 7293; bug not on any released Tor.
Diffstat (limited to 'src/ext')
-rw-r--r--src/ext/tor_queue.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ext/tor_queue.h b/src/ext/tor_queue.h
index 98d6b9885..595e4a342 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.