Add an SLIST_ENTRY definition back on non-win32

Otherwise we break openbsd headers.

Fixes bug 7293; bug not on any released Tor.
This commit is contained in:
Nick Mathewson 2012-11-02 19:38:21 -04:00
parent 05194cce62
commit e5ca5040a5

View File

@ -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.