diff options
Diffstat (limited to 'sysdep')
-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 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)); |