aboutsummaryrefslogtreecommitdiff
path: root/src/ext/include.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-10-12 17:05:06 -0400
committerNick Mathewson <nickm@torproject.org>2012-10-12 17:18:14 -0400
commitb555388dac71696c6a1028805094e16b5e5b2b82 (patch)
tree1afcb5ff02b20a834347113ac123a5901459922e /src/ext/include.am
parente3c746384a2c50e9a2b853456040cdc732d72b57 (diff)
downloadtor-b555388dac71696c6a1028805094e16b5e5b2b82.tar.gz
tor-b555388dac71696c6a1028805094e16b5e5b2b82.zip
Add a copy of OpenBSD's sys/queue.h as tor_queue.h
There are as many divergent implementations of sys/queue.h as there are operating systems shipping it, it would seem. They have some code in common, but have drifted apart, and have added other stuff named differently. So I'm taking a relatively sane one, and hoping for the best. I'm taking OpenBSD's in particular because of the lack of external dependencies, the presence of a CIRCLEQ (we could use one of those in places), and the liberal licensing terms. I'm naming the file tor_queue.h, since historically we've run into trouble having headers with the same names as system headers (log.h, for example.)
Diffstat (limited to 'src/ext/include.am')
-rw-r--r--src/ext/include.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ext/include.am b/src/ext/include.am
index fa9ee94020..ea7e58e79e 100644
--- a/src/ext/include.am
+++ b/src/ext/include.am
@@ -9,7 +9,8 @@ EXTHEADERS = \
src/ext/tinytest.h \
src/ext/strlcat.c \
src/ext/strlcpy.c \
- src/ext/tinytest_macros.h
+ src/ext/tinytest_macros.h \
+ src/ext/tor_queue.h
noinst_HEADERS+= $(EXTHEADERS)