From: Maxim Mamontov <faust.madf@gmail.com> Date: Tue, 20 Sep 2011 12:16:29 +0000 (+0300) Subject: Add proper header to use struct sockaddr_in in sgauthstress X-Git-Tag: 2.408-rc1~9 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/0b4df29c8f7c08adc5865dbac01051040e7d45e0 Add proper header to use struct sockaddr_in in sgauthstress --- diff --git a/projects/sgauthstress/proto.cpp b/projects/sgauthstress/proto.cpp index eb85ffa1..692c6946 100644 --- a/projects/sgauthstress/proto.cpp +++ b/projects/sgauthstress/proto.cpp @@ -1,5 +1,6 @@ #include <sys/types.h> #include <sys/socket.h> +#include <netinet/in.h> #include <netdb.h> #include <arpa/inet.h>