Procházet zdrojové kódy

fix linux compiler bug, tc_port need <memory>

ruanshudong před 2 roky
rodič
revize
62dd04ec2c
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      util/include/util/tc_port.h

+ 2 - 1
util/include/util/tc_port.h

@@ -23,6 +23,7 @@ typedef unsigned short mode_t;
 #endif
 
 #include <stdio.h>
+#include <memory>
 #include <atomic>
 #include <string>
 #include <vector>
@@ -140,4 +141,4 @@ protected:
 
 }
 
-#endif
+#endif