opnsense-ports/net/ipdecap/files/patch-src_esp.c
Franco Fichtner ea8631aad0 */*: sync with upstream
Taken from: HardenedBSD
2018-10-15 17:35:46 +02:00

10 lines
435 B
C

--- src/esp.c.orig 2018-07-19 13:30:02 UTC
+++ src/esp.c
@@ -21,6 +21,7 @@
#include <arpa/inet.h> // for inet_ntop, inet_pton
#include <err.h> // for err
#include <errno.h> // for __errno_location, errno, ERANGE
+#include <sys/types.h> // for u_char
#include <net/ethernet.h> // for ether_header
#include <netinet/ip.h> // for ip
#include <stdio.h> // for printf, fclose, fgets, fopen, FILE