aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if.h
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-10-21 12:58:34 +0000
committerEd Schouten <ed@FreeBSD.org>2011-10-21 12:58:34 +0000
commitcf05e311ea4a7924f6530caab574060fa78d661b (patch)
treeb83ec9de6e77f2e1d9573396deae5f5b824ae53f /sys/net/if.h
parentb6b8562bfc8114da5b39db8444854389fcec77be (diff)
downloadsrc-cf05e311ea4a7924f6530caab574060fa78d661b.tar.gz
src-cf05e311ea4a7924f6530caab574060fa78d661b.zip
Notes
Diffstat (limited to 'sys/net/if.h')
-rw-r--r--sys/net/if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index d1f3883e1edd..4f2dc6f62452 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -43,9 +43,11 @@
/*
* <net/if.h> does not depend on <sys/time.h> on most other systems. This
* helps userland compatibility. (struct timeval ifi_lastchange)
+ * The same holds for <sys/socket.h>. (struct sockaddr ifru_addr)
*/
#ifndef _KERNEL
#include <sys/time.h>
+#include <sys/socket.h>
#endif
struct ifnet;