Include linux/sysctl.h rather than sys/sysctl.h on non-glibc systems (#4174)

This commit is contained in:
Bart Ribbers 2019-12-26 04:52:46 +01:00 committed by Benau
parent d00ffe72b9
commit f6ee1ebab1
2 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,7 @@
#if !defined(_IRR_SOLARIS_PLATFORM_) && !defined(__CYGWIN__)
#include <sys/param.h>
#include <sys/types.h>
#ifdef ANDROID
#if defined(ANDROID) || (defined(__linux__) && !defined(__GLIBC__))
#include <linux/sysctl.h>
#else
#include <sys/sysctl.h>

View File

@ -32,6 +32,7 @@ class Track;
#include <map>
#include <memory>
#include <mutex>
#include <string>
#include <thread>
#include <vector>