From b555388dac71696c6a1028805094e16b5e5b2b82 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 12 Oct 2012 17:05:06 -0400 Subject: 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.) --- src/ext/include.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ext/include.am') 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) -- cgit v1.2.3-54-g00ecf