]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
Include <netinet/in_systm.h> before <netinet/ip_icmp.h> for Solaris
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 24 Apr 2019 16:12:54 +0000 (18:12 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 24 Apr 2019 16:12:54 +0000 (18:12 +0200)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
gpst.c

diff --git a/gpst.c b/gpst.c
index 58dcf336de8f6cb33b1d342a47ca90a97e733350..80af5f09350892162c218b1785c759a329eaa37b 100644 (file)
--- a/gpst.c
+++ b/gpst.c
@@ -41,6 +41,7 @@
  * (Linux and macOS already #include them within netinet/ip.h)
  */
 #include <sys/types.h>
+#include <netinet/in_systm.h>
 #include <netinet/in.h>
 #include <netinet/ip.h>
 #include <netinet/ip_icmp.h>