Add missing headers required for solaris/illumos

This commit is contained in:
H William Welliver committed 2022-01-06 23:06:36 -05:00
1 parent 10b5034f0d
commit fd92c754fc
3 files changed
+9 -2

No files matched your search

+3 -1
View File
@@ -29,11 +29,13 @@
#include <sys/ioctl.h>
#include <sys/stat.h>
#ifndef UNIX_OPENBSD
#if !defined(UNIX_OPENBSD) && !defined(UNIX_SOLARIS)
#include <net/ethernet.h>
#endif
#ifdef UNIX_SOLARIS
#include <stropts.h>
#include <sys/dlpi.h>
#include <sys/sockio.h>
#endif
+1 -1
View File
@@ -29,7 +29,7 @@
#include <net/if.h>
#include <sys/ioctl.h>
#ifdef UNIX_OPENBSD
#if defined(UNIX_OPENBSD) || defined(UNIX_SOLARIS)
#include <netinet/if_ether.h>
#else
#include <net/ethernet.h>