Portability fixes.
This commit is contained in:
parent
abae6e9cd3
commit
e4241f24f2
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
|
@ -45,7 +46,7 @@ static void
|
||||||
krt_ioctl(int ioc, rte *e, char *name)
|
krt_ioctl(int ioc, rte *e, char *name)
|
||||||
{
|
{
|
||||||
net *net = e->net;
|
net *net = e->net;
|
||||||
struct rtentry re;
|
struct ortentry re;
|
||||||
rta *a = e->attrs;
|
rta *a = e->attrs;
|
||||||
|
|
||||||
bzero(&re, sizeof(re));
|
bzero(&re, sizeof(re));
|
||||||
|
|
Loading…
Reference in a new issue