summaryrefslogtreecommitdiff
path: root/sbin/iked/iked.h
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2017-02-03 08:23:47 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2017-02-03 08:23:47 +0000
commit79d6582906e9f255bb3e3b013b1db652bde7e4d1 (patch)
treec9892bb3aa44ecbac98f01e7e08b273ab6b46397 /sbin/iked/iked.h
parent51dc42ac86cd5bdfc25c9f16f7d5791604cb1737 (diff)
Stop assuming that in_{addr,port}_t are typedefed in <sys/types.h> and
instead pull in <netinet/in.h> or <arpa/inet.h> when those are needed. ok florian@ beck@ millert@
Diffstat (limited to 'sbin/iked/iked.h')
-rw-r--r--sbin/iked/iked.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/iked/iked.h b/sbin/iked/iked.h
index ae07b19958b..38de8754582 100644
--- a/sbin/iked/iked.h
+++ b/sbin/iked/iked.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: iked.h,v 1.101 2017/01/20 14:10:05 mikeb Exp $ */
+/* $OpenBSD: iked.h,v 1.102 2017/02/03 08:23:46 guenther Exp $ */
/*
* Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org>
@@ -19,6 +19,7 @@
#include <sys/types.h>
#include <sys/tree.h>
#include <sys/queue.h>
+#include <arpa/inet.h>
#include <limits.h>
#include <imsg.h>