mirror of
https://github.com/intel/llvm.git
synced 2026-01-18 07:57:36 +08:00
sysctl.h does not exist under GNU/HURD (like windows)
llvm-svn: 190057
This commit is contained in:
@@ -22,6 +22,10 @@
|
||||
#include <grp.h>
|
||||
#include <netdb.h>
|
||||
#include <pwd.h>
|
||||
#endif
|
||||
|
||||
#if !defined (__GNU__) && !defined (_WIN32)
|
||||
// Does not exist under GNU/HURD or Windows
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user