about summary refs log tree commit diff
path: root/inet
diff options
context:
space:
mode:
Diffstat (limited to 'inet')
-rw-r--r--inet/protocols/routed.h1
-rw-r--r--inet/protocols/talkd.h1
-rw-r--r--inet/protocols/timed.h2
3 files changed, 4 insertions, 0 deletions
diff --git a/inet/protocols/routed.h b/inet/protocols/routed.h
index f342239db9..503da847a0 100644
--- a/inet/protocols/routed.h
+++ b/inet/protocols/routed.h
@@ -36,6 +36,7 @@
 #ifndef _PROTOCOLS_ROUTED_H
 #define	_PROTOCOLS_ROUTED_H 1
 
+#include <sys/socket.h>
 /*
  * Routing Information Protocol
  *
diff --git a/inet/protocols/talkd.h b/inet/protocols/talkd.h
index 5bec984d1f..fa22b43bda 100644
--- a/inet/protocols/talkd.h
+++ b/inet/protocols/talkd.h
@@ -55,6 +55,7 @@
  */
 
 #include <sys/types.h>
+#include <sys/socket.h>
 
 /*
  * Client->server request message format.
diff --git a/inet/protocols/timed.h b/inet/protocols/timed.h
index a2c9fb8ce4..dc880ab325 100644
--- a/inet/protocols/timed.h
+++ b/inet/protocols/timed.h
@@ -36,6 +36,8 @@
 #ifndef	_PROTOCOLS_TIMED_H
 #define	_PROTOCOLS_TIMED_H 1
 
+#include <rpc/types.h>
+
 /*
  * Time Synchronization Protocol
  */