about summary refs log tree commit diff
path: root/inet/protocols/timed.h
diff options
context:
space:
mode:
Diffstat (limited to 'inet/protocols/timed.h')
-rw-r--r--inet/protocols/timed.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/inet/protocols/timed.h b/inet/protocols/timed.h
index 4345bed476..b5d4702ff3 100644
--- a/inet/protocols/timed.h
+++ b/inet/protocols/timed.h
@@ -32,7 +32,8 @@
 #ifndef	_PROTOCOLS_TIMED_H
 #define	_PROTOCOLS_TIMED_H 1
 
-#include <rpc/types.h>
+#include <sys/types.h>
+#include <sys/time.h>
 
 /*
  * Time Synchronization Protocol
@@ -40,6 +41,7 @@
 
 #define	TSPVERSION	1
 #define ANYADDR 	NULL
+#define MAXHOSTNAMELEN	64
 
 struct tsp {
 	u_char	tsp_type;