diff options
author | Martin Mares <mj@ucw.cz> | 1999-04-01 17:35:15 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-04-01 17:35:15 +0200 |
commit | e4241f24f2ebc796a9cfb03db2a9502f5ebd9c0c (patch) | |
tree | cb87fa1292bbcef0fde81fac2d0cbc171fecf272 | |
parent | abae6e9cd3f041648eaa85fad2f861515b67c1ce (diff) | |
download | bird-e4241f24f2ebc796a9cfb03db2a9502f5ebd9c0c.tar bird-e4241f24f2ebc796a9cfb03db2a9502f5ebd9c0c.zip |
Portability fixes.
-rw-r--r-- | sysdep/unix/krt-set.c | 3 |
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)); |