summaryrefslogtreecommitdiff
path: root/sysdep
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-04-01 15:35:15 +0000
committerMartin Mares <mj@ucw.cz>1999-04-01 15:35:15 +0000
commite4241f24f2ebc796a9cfb03db2a9502f5ebd9c0c (patch)
treecb87fa1292bbcef0fde81fac2d0cbc171fecf272 /sysdep
parentabae6e9cd3f041648eaa85fad2f861515b67c1ce (diff)
Portability fixes.
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/unix/krt-set.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdep/unix/krt-set.c b/sysdep/unix/krt-set.c
index ca00a2cd..5a5d0d8f 100644
--- a/sysdep/unix/krt-set.c
+++ b/sysdep/unix/krt-set.c
@@ -7,6 +7,7 @@
*/
#include <string.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/ioctl.h>
@@ -45,7 +46,7 @@ static void
krt_ioctl(int ioc, rte *e, char *name)
{
net *net = e->net;
- struct rtentry re;
+ struct ortentry re;
rta *a = e->attrs;
bzero(&re, sizeof(re));