diff options
author | Vitaly Chikunov <vt@altlinux.org> | 2019-04-21 06:45:55 +0300 |
---|---|---|
committer | Vitaly Chikunov <vt@altlinux.org> | 2019-04-21 06:45:55 +0300 |
commit | 63248f29008a827770fafa6a2452d527a521c2f7 (patch) | |
tree | 704c2c53c1532f218d68776fb650097994c20113 | |
parent | a7a5ff4a0eaff8586f963d7d15a3b3236201c5d0 (diff) | |
download | gost-engine-63248f29008a827770fafa6a2452d527a521c2f7.zip gost-engine-63248f29008a827770fafa6a2452d527a521c2f7.tar.gz gost-engine-63248f29008a827770fafa6a2452d527a521c2f7.tar.bz2 |
Fix compilation on FreeBSD
Otherwise `struct sockaddr_in` is undefined for test_tls.
Reported in #123 by f-andrey.
-rw-r--r-- | test_tls.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -26,6 +26,7 @@ #include <sys/wait.h> #include <sys/types.h> #include <sys/socket.h> +#include <netinet/in.h> #include <arpa/inet.h> #include <err.h> |