Fix osx compile error

This commit is contained in:
Shawn Chain 2020-10-31 19:53:00 +08:00
parent 99cdcf1f50
commit 258c8a1202
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ void CNetworkInfo::getNetworkInterface(unsigned char* info)
::fclose(fp);
#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__APPLE__)
const int mib[] = {
int mib[] = {
CTL_NET,
PF_ROUTE,
0, // protocol