fix: Include order of config.h and gflags.h in unit test
authorAndreas Schuh <andreas.schuh.84@gmail.com>
Tue, 1 Mar 2016 21:34:24 +0000 (21:34 +0000)
committerAndreas Schuh <andreas.schuh.84@gmail.com>
Tue, 1 Mar 2016 21:34:24 +0000 (21:34 +0000)
test/gflags_unittest.cc

index 1fd373d..427af8c 100755 (executable)
 // For now, this unit test does not cover all features of
 // gflags.cc
 
-#include "config.h"
 #include <gflags/gflags.h>
 
+#include "config.h"
+#include "util.h"
+
 #include <math.h>       // for isinf() and isnan()
 #include <stdio.h>
 #include <stdlib.h>
@@ -44,7 +46,6 @@
 #endif
 #include <vector>
 #include <string>
-#include "util.h"
 TEST_INIT
 EXPECT_DEATH_INIT