Solaris: Fix compile.

This commit is contained in:
Roy Marples 2019-08-30 10:34:44 +00:00
parent 8c8ab43ae2
commit 0a101fb033
2 changed files with 7 additions and 0 deletions

View File

@ -33,6 +33,7 @@
#define _SYS_RBTREE_H_
#include "config.h"
#include "common.h"
#if defined(_KERNEL) || defined(_STANDALONE)
#include <sys/types.h>

View File

@ -72,6 +72,12 @@
#include "ipv6nd.h"
#include "logerr.h"
#ifdef __sun
/* It has the ioctl, but the member is missing from the struct?
* No matter, our getifaddrs foo in if-sun.c will DTRT. */
#undef SIOCGIFHWADDR
#endif
void
if_free(struct interface *ifp)
{