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 f3aa2dd3b14de87b88332d46d9241f00a1fa4fc2..02425d10dc40b9e430115a18ae76e433aeb60af6 100644 (file)
@@ -31,6 +31,8 @@
 //
 // Unit tests for functions in demangle.c.
 
+#include "utilities.h"
+
 #include <iostream>
 #include <fstream>
 #include <string>
index 4270f93488ef61ac9dca271389675096d8e85af2..0acd2c9af3fcbdcc32ddf588f66e647eed80a74f 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 021f6422fa13dbb3bf54d5b9bf643719fb5fe1f9..0ed4695da499771fdb9421da0343b588cfefdf6c 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