瀏覽代碼

Fix linux build

xcbosa-itx 2 年之前
父節點
當前提交
de4ca38d21
共有 4 個文件被更改,包括 4 次插入0 次删除
  1. 1 0
      httpserver/httpserver-private.h
  2. 1 0
      processor/processor-private.h
  3. 1 0
      utils/BinaryResponseData.cpp
  4. 1 0
      utils/utils-private.h

+ 1 - 0
httpserver/httpserver-private.h

@@ -18,6 +18,7 @@
 #include <unistd.h>
 #include <unistd.h>
 #include <time.h>
 #include <time.h>
 #include <functional>
 #include <functional>
+#include <assert.h>
 #include "../webui.h"
 #include "../webui.h"
 
 
 using namespace std;
 using namespace std;

+ 1 - 0
processor/processor-private.h

@@ -15,6 +15,7 @@
 #include <fstream>
 #include <fstream>
 #include <unistd.h>
 #include <unistd.h>
 #include <functional>
 #include <functional>
+#include <assert.h>
 #include "../thirdparty/configor/json.hpp"
 #include "../thirdparty/configor/json.hpp"
 
 
 #include "../utils/utils.h"
 #include "../utils/utils.h"

+ 1 - 0
utils/BinaryResponseData.cpp

@@ -4,6 +4,7 @@
 
 
 #include "BinaryResponseData.h"
 #include "BinaryResponseData.h"
 #include "../webuiconf.h"
 #include "../webuiconf.h"
+#include <string.h>
 
 
 namespace xc {
 namespace xc {
     namespace utils {
     namespace utils {

+ 1 - 0
utils/utils-private.h

@@ -13,6 +13,7 @@
 #include <sstream>
 #include <sstream>
 #include <fstream>
 #include <fstream>
 #include <functional>
 #include <functional>
+#include <assert.h>
 
 
 using namespace std;
 using namespace std;