summaryrefslogtreecommitdiffstats
path: root/sysdep/unix/krt-set.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-04-01 17:35:15 +0200
committerMartin Mares <mj@ucw.cz>1999-04-01 17:35:15 +0200
commite4241f24f2ebc796a9cfb03db2a9502f5ebd9c0c (patch)
treecb87fa1292bbcef0fde81fac2d0cbc171fecf272 /sysdep/unix/krt-set.c
parentabae6e9cd3f041648eaa85fad2f861515b67c1ce (diff)
downloadbird-e4241f24f2ebc796a9cfb03db2a9502f5ebd9c0c.tar
bird-e4241f24f2ebc796a9cfb03db2a9502f5ebd9c0c.zip
Portability fixes.
Diffstat (limited to 'sysdep/unix/krt-set.c')
-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 ca00a2c..5a5d0d8 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));