diff options
author | Filippo Valsorda <hi@filippo.io> | 2018-05-21 00:10:54 -0400 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-22 16:41:59 +0200 |
commit | 9d52a812c8fcadfcec8870bf0ea5c8e10f240f8c (patch) | |
tree | 5e137dbc3788bed9ea5c7e6fd73731f9b2bcef5b /src/showconf.c | |
parent | ncat-client-server: do not always call sudo and use env bash (diff) | |
download | wireguard-tools-9d52a812c8fcadfcec8870bf0ea5c8e10f240f8c.tar.xz wireguard-tools-9d52a812c8fcadfcec8870bf0ea5c8e10f240f8c.zip |
wg: fix OpenBSD build
License: MIT
Signed-off-by: Filippo Valsorda <valsorda@google.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/showconf.c')
-rw-r--r-- | src/showconf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/showconf.c b/src/showconf.c index 390273a..313ad23 100644 --- a/src/showconf.c +++ b/src/showconf.c @@ -5,6 +5,7 @@ #include <arpa/inet.h> #include <netinet/in.h> +#include <sys/socket.h> #include <net/if.h> #include <stddef.h> #include <stdio.h> |