about summary refs log tree commit diff
path: root/inet/protocols
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-05-05 07:36:40 -0400
committerUlrich Drepper <drepper@gmail.com>2011-05-05 07:36:40 -0400
commit4e34d5f58955ddfc174b20ae0e5081bb1db983be (patch)
tree44fc7a882fe414d5d0e6814cdef701910a6a117a /inet/protocols
parent00ee369c1cbdcc4ca4a009e9223799951c6c8f04 (diff)
downloadglibc-4e34d5f58955ddfc174b20ae0e5081bb1db983be.tar.gz
glibc-4e34d5f58955ddfc174b20ae0e5081bb1db983be.tar.xz
glibc-4e34d5f58955ddfc174b20ae0e5081bb1db983be.zip
Don't use removed rpc headers
Diffstat (limited to 'inet/protocols')
-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;