Bläddra i källkod

fix linux compiler bug, tc_port need <memory>

ruanshudong 2 år sedan
förälder
incheckning
62dd04ec2c
1 ändrade filer med 2 tillägg och 1 borttagningar
  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