]> git.stg.codes - stg.git/blobdiff - projects/sgauthstress/user.cpp
Fixed invalid check of pthread_create return value.
[stg.git] / projects / sgauthstress / user.cpp
index efe63af664bd181d407d8f6454a56e76dde9e917..944907fe8abf74221dd12e2b3acd076a71e0abf5 100644 (file)
@@ -1,5 +1,7 @@
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
+#include <unistd.h> // close
 
 #include <cstring>
 #include <cerrno>
 
 #include <cstring>
 #include <cerrno>