You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2015/01/16 20:38:15 UTC

trafficserver git commit: TS-3302: Fix FreeBSD build error.

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 <am...@network-geographics.com>
Authored: Fri Jan 16 13:37:48 2015 -0600
Committer: Alan M. Carroll <am...@network-geographics.com>
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.