]> git.stg.codes - stg.git/commitdiff
Add proper header to use struct sockaddr_in in sgauthstress
authorMaxim Mamontov <faust.madf@gmail.com>
Tue, 20 Sep 2011 12:16:29 +0000 (15:16 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Tue, 20 Sep 2011 12:16:29 +0000 (15:16 +0300)
projects/sgauthstress/proto.cpp

index eb85ffa13f6ac915970e2fbe26efe8f255192d30..692c6946de9e27bba00295248def0ec364191ff4 100644 (file)
@@ -1,5 +1,6 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
 #include <netdb.h>
 #include <arpa/inet.h>
 
 #include <netdb.h>
 #include <arpa/inet.h>