]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Portability fixes.
authorMartin Mares <mj@ucw.cz>
Thu, 1 Apr 1999 15:35:15 +0000 (15:35 +0000)
committerMartin Mares <mj@ucw.cz>
Thu, 1 Apr 1999 15:35:15 +0000 (15:35 +0000)
sysdep/unix/krt-set.c

index ca00a2cdd79580bbeede93571bb6a254213fbc08..5a5d0d8f98bf4e6e546c7e97429504461a1b4508 100644 (file)
@@ -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));