Suppress warnings (re-definition of _XOPEN_SOURCE) by including utilities.h first.
author <shinichiro.hamaji@gmail.com> <>
Tue, 19 May 2009 09:12:00 +0000 (09:12 +0000)
committer <shinichiro.hamaji@gmail.com> <>
Tue, 19 May 2009 09:12:00 +0000 (09:12 +0000)
git-svn-id: https://google-glog.googlecode.com/svn/trunk@50 eb4d4688-79bd-11dd-afb4-1d65580434c0

src/demangle_unittest.cc
src/stacktrace_unittest.cc
src/stl_logging_unittest.cc

index f3aa2dd..02425d1 100644 (file)
@@ -31,6 +31,8 @@
 //
 // Unit tests for functions in demangle.c.
 
+#include "utilities.h"
+
 #include <iostream>
 #include <fstream>
 #include <string>
index 4270f93..0acd2c9 100644 (file)
 // (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"
index 021f642..0ed4695 100644 (file)
@@ -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