wg: fix OpenBSD build
License: MIT Signed-off-by: Filippo Valsorda <valsorda@google.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
550119bb08
commit
9d52a812c8
4 changed files with 4 additions and 2 deletions
|
@ -9,9 +9,9 @@
|
|||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
#include <netinet/in.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include "../uapi/wireguard.h"
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "mnlg.h"
|
||||
#endif
|
||||
#include <netinet/in.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
#include <errno.h>
|
||||
#include <stdbool.h>
|
||||
|
@ -26,7 +27,6 @@
|
|||
#include <signal.h>
|
||||
#include <netdb.h>
|
||||
#include <limits.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/types.h>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <arpa/inet.h>
|
||||
#include <inttypes.h>
|
||||
#include <netinet/in.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue