Fix compilation warning

/usr/include/sys/sysctl.h:21:2: attention: #warning 'The <sys/sysctl.h> header is deprecated and will be removed.' [-Wcpp]
   21 | #warning 'The <sys/sysctl.h> header is deprecated and will be removed.'
This commit is contained in:
Loic Blot 2020-05-18 08:43:04 +02:00
parent 6fe86df4b3
commit 1dbebc0a0c
No known key found for this signature in database
GPG Key ID: EFAA458E8C153987

View File

@ -13,7 +13,7 @@
#include <unistd.h> #include <unistd.h>
#ifndef _IRR_SOLARIS_PLATFORM_ #ifndef _IRR_SOLARIS_PLATFORM_
#include <sys/types.h> #include <sys/types.h>
#include <sys/sysctl.h> #include <linux/sysctl.h>
#endif #endif
#endif #endif