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
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 <iostream>
#include <fstream>
#include <string>
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 <stdio.h>
#include <stdlib.h>
#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