summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2018-04-25 16:05:59 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2018-04-25 16:05:59 +0000
commitc8ff365bf1beb69d7b35a4daada418575bd2e31e (patch)
tree854e044cc76121831033109403be9eba8bbd4c0a /sys/net
parentb810a47eb682d67542574a7715fd3ad53c0c22b2 (diff)
Make this header standalone #if __BSD_VISIBLE, by including needed headers
Puts us in line with Free/NetBSD and Linux and will get us rid of pointless patches in the ports tree. ok guenther@ deraadt@
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index 87fdad7191b..d91ad1f5b9a 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.h,v 1.192 2018/02/19 04:43:48 dlg Exp $ */
+/* $OpenBSD: if.h,v 1.193 2018/04/25 16:05:58 jca Exp $ */
/* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */
/*
@@ -59,6 +59,10 @@ __END_DECLS
#if __BSD_VISIBLE
+#include <sys/types.h>
+#include <sys/time.h>
+#include <sys/socket.h>
+
/*
* Structure used to query names of interface cloners.
*/