]> git.stg.codes - stg.git/commitdiff
Add headers for old BSD systems, add unistd.h for close in sgauthstress
authorMaxim Mamontov <faust.madf@gmail.com>
Tue, 20 Sep 2011 13:08:57 +0000 (16:08 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Tue, 20 Sep 2011 13:08:57 +0000 (16:08 +0300)
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 <unistd.h> // close
 
 #include <cstring>
 #include <cerrno>