mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 17:39:53 +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/ioctl.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#ifndef UNIX_OPENBSD
|
#if !defined(UNIX_OPENBSD) && !defined(UNIX_SOLARIS)
|
||||||
#include <net/ethernet.h>
|
#include <net/ethernet.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef UNIX_SOLARIS
|
#ifdef UNIX_SOLARIS
|
||||||
|
#include <stropts.h>
|
||||||
|
#include <sys/dlpi.h>
|
||||||
#include <sys/sockio.h>
|
#include <sys/sockio.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
|
|
||||||
#ifdef UNIX_OPENBSD
|
#if defined(UNIX_OPENBSD) || defined(UNIX_SOLARIS)
|
||||||
#include <netinet/if_ether.h>
|
#include <netinet/if_ether.h>
|
||||||
#else
|
#else
|
||||||
#include <net/ethernet.h>
|
#include <net/ethernet.h>
|
||||||
|
@ -46,6 +46,11 @@
|
|||||||
#include <sys/statfs.h>
|
#include <sys/statfs.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef UNIX_SOLARIS
|
||||||
|
#define USE_STATVFS
|
||||||
|
#include <sys/statvfs.h>'
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef UNIX_MACOS
|
#ifdef UNIX_MACOS
|
||||||
#ifdef NO_VLAN
|
#ifdef NO_VLAN
|
||||||
// Struct statfs for MacOS X
|
// Struct statfs for MacOS X
|
||||||
|
Loading…
Reference in New Issue
Block a user