git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
49696df
)
Add headers for old BSD systems, add unistd.h for close in sgauthstress
author
Maxim Mamontov
<faust.madf@gmail.com>
Tue, 20 Sep 2011 13:08:57 +0000
(16:08 +0300)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Tue, 20 Sep 2011 13:08:57 +0000
(16:08 +0300)
projects/sgauthstress/user.cpp
patch
|
blob
|
history
diff --git
a/projects/sgauthstress/user.cpp
b/projects/sgauthstress/user.cpp
index efe63af664bd181d407d8f6454a56e76dde9e917..944907fe8abf74221dd12e2b3acd076a71e0abf5 100644
(file)
--- a/
projects/sgauthstress/user.cpp
+++ b/
projects/sgauthstress/user.cpp
@@
-1,5
+1,7
@@
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
+#include <unistd.h> // close
#include <cstring>
#include <cerrno>