Repository: trafficserver Updated Branches: refs/heads/master d90560495 -> a3cd7abef
TS-3302: Fix FreeBSD build error. Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/a3cd7abe Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/a3cd7abe Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/a3cd7abe Branch: refs/heads/master Commit: a3cd7abefbc91081f14b80a52cbb179f0da78676 Parents: d905604 Author: Alan M. Carroll <[email protected]> Authored: Fri Jan 16 13:37:48 2015 -0600 Committer: Alan M. Carroll <[email protected]> Committed: Fri Jan 16 13:37:48 2015 -0600 ---------------------------------------------------------------------- lib/ts/IntrusiveDList.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a3cd7abe/lib/ts/IntrusiveDList.h ---------------------------------------------------------------------- diff --git a/lib/ts/IntrusiveDList.h b/lib/ts/IntrusiveDList.h index 81a5192..b79ab10 100644 --- a/lib/ts/IntrusiveDList.h +++ b/lib/ts/IntrusiveDList.h @@ -42,13 +42,8 @@ */ -# if USE_STL -# include <iterator> -# else -namespace std { - struct bidirectional_iterator_tag; -} -# endif +/// FreeBSD doesn't like just declaring the tag struct we need so we have to include the file. +# include <iterator> /** Intrusive doubly linked list container.
