]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
Include extra headers needed for ICMP packet-building on FreeBSD
authorBrennan Hildebrand <brennan@nthroot.org>
Thu, 17 Aug 2017 18:27:40 +0000 (11:27 -0700)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 27 Feb 2018 15:28:32 +0000 (16:28 +0100)
Signed-off-by: Daniel Lenski <dlenski@gmail.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
gpst.c

diff --git a/gpst.c b/gpst.c
index 3407486729604560836a81981222c2292a9fe927..cd9ba22292b5c2850bcaf44d9ef7d6a74920b91f 100644 (file)
--- a/gpst.c
+++ b/gpst.c
 #ifdef HAVE_LZ4
 #include <lz4.h>
 #endif
+
+#ifdef __FreeBSD__
+#include <sys/types.h>
+#include <netinet/in.h>
+#endif
 #include <netinet/ip.h>
 #include <netinet/ip_icmp.h>