Move stdarg.h to util.h
authorMASM fan <masmfan@gmail.com>
Wed, 10 Dec 2014 18:52:14 +0000 (22:52 +0400)
committerMASM fan <masmfan@gmail.com>
Wed, 10 Dec 2014 18:52:14 +0000 (22:52 +0400)
src/util.cpp
src/util.h

index 9f64643..420b146 100644 (file)
@@ -30,7 +30,6 @@ namespace boost {
 #include <boost/thread.hpp>
 #include <openssl/crypto.h>
 #include <openssl/rand.h>
-#include <stdarg.h>
 
 #ifdef WIN32
 #ifdef _MSC_VER
index 9a7c2e0..c7be065 100644 (file)
@@ -22,6 +22,7 @@
 #include <boost/filesystem/path.hpp>
 #include <boost/date_time/gregorian/gregorian_types.hpp>
 #include <boost/date_time/posix_time/posix_time_types.hpp>
+#include <stdarg.h>
 
 #include "netbase.h" // for AddTimeData