[Xorp-hackers] [PATCH 1/3] xorp: libxorp: callback.cc: Fix compiling with debug_cb set to true

igorm at etf.rs igorm at etf.rs
Fri Jan 27 05:47:59 PST 2012


From: Igor Maravic <igorm at etf.rs>

Added missing include <stack>, so Xorp
could be compiled with debug_cb set to true

Signed-off-by: Igor Maravic <igorm at etf.rs>
---
 xorp/libxorp/callback.cc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/xorp/libxorp/callback.cc b/xorp/libxorp/callback.cc
index 06c2051..7df483d 100644
--- a/xorp/libxorp/callback.cc
+++ b/xorp/libxorp/callback.cc
@@ -35,6 +35,10 @@
 
 #ifdef DEBUG_CALLBACKS
 
+#ifndef XORP_USE_USTL
+#include <stack>
+#endif
+
 #include "libxorp/xlog.h"
 #include "libxorp/callback.hh"
 #include "libxorp/c_format.hh"
-- 
1.7.5.4



More information about the Xorp-hackers mailing list