Fix osx compile error
This commit is contained in:
parent
99cdcf1f50
commit
258c8a1202
|
@ -92,7 +92,7 @@ void CNetworkInfo::getNetworkInterface(unsigned char* info)
|
||||||
::fclose(fp);
|
::fclose(fp);
|
||||||
|
|
||||||
#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__APPLE__)
|
#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__APPLE__)
|
||||||
const int mib[] = {
|
int mib[] = {
|
||||||
CTL_NET,
|
CTL_NET,
|
||||||
PF_ROUTE,
|
PF_ROUTE,
|
||||||
0, // protocol
|
0, // protocol
|
||||||
|
|
Loading…
Reference in New Issue