]> www.wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
Fix compilation on FreeBSD 132/head
authorVitaly Chikunov <vt@altlinux.org>
Sun, 21 Apr 2019 03:45:55 +0000 (06:45 +0300)
committerVitaly Chikunov <vt@altlinux.org>
Sun, 21 Apr 2019 03:45:55 +0000 (06:45 +0300)
Otherwise `struct sockaddr_in` is undefined for test_tls.

Reported in #123 by f-andrey.

test_tls.c

index 6a9c02de20c5d6529b54c5ba6ddc84bbb0334896..fa4048c7afd844a9e4fcd9731536a6b478fb1d27 100644 (file)
@@ -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>