mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-26 03:19:52 +03:00
Merge pull request #1538 from hww3/hww3/illumos-headers
Merge pull request #1538: Add missing headers required for solaris/illumos
This commit is contained in:
commit
a4334753ad
@ -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
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user