1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-12-26 10:09:52 +03:00

Add missing headers required for solaris/illumos

This commit is contained in:
H William Welliver 2022-01-06 16:09:27 -05:00
parent 10b5034f0d
commit fd92c754fc
3 changed files with 9 additions and 2 deletions

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

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>

View File

@ -46,6 +46,11 @@
#include <sys/statfs.h>
#endif
#ifdef UNIX_SOLARIS
#define USE_STATVFS
#include <sys/statvfs.h>'
#endif
#ifdef UNIX_MACOS
#ifdef NO_VLAN
// Struct statfs for MacOS X