From 7b97abb978fff069257257d2971d73c50b960863 Mon Sep 17 00:00:00 2001 From: Date: Tue, 19 May 2009 09:12:00 +0000 Subject: [PATCH] Suppress warnings (re-definition of _XOPEN_SOURCE) by including utilities.h first. git-svn-id: https://google-glog.googlecode.com/svn/trunk@50 eb4d4688-79bd-11dd-afb4-1d65580434c0 --- src/demangle_unittest.cc | 2 ++ src/stacktrace_unittest.cc | 3 ++- src/stl_logging_unittest.cc | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/demangle_unittest.cc b/src/demangle_unittest.cc index f3aa2dd..02425d1 100644 --- a/src/demangle_unittest.cc +++ b/src/demangle_unittest.cc @@ -31,6 +31,8 @@ // // Unit tests for functions in demangle.c. +#include "utilities.h" + #include #include #include diff --git a/src/stacktrace_unittest.cc b/src/stacktrace_unittest.cc index 4270f93..0acd2c9 100644 --- a/src/stacktrace_unittest.cc +++ b/src/stacktrace_unittest.cc @@ -27,10 +27,11 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +#include "utilities.h" + #include #include #include "config.h" -#include "utilities.h" #include "base/commandlineflags.h" #include "glog/logging.h" #include "stacktrace.h" diff --git a/src/stl_logging_unittest.cc b/src/stl_logging_unittest.cc index 021f642..0ed4695 100644 --- a/src/stl_logging_unittest.cc +++ b/src/stl_logging_unittest.cc @@ -27,6 +27,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +#include "utilities.h" #include "config.h" #ifdef HAVE_USING_OPERATOR -- 2.7.4