diff options
author | Chris Robinson <[email protected]> | 2014-01-18 19:16:46 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-01-18 19:16:46 -0800 |
commit | 748be9a97d2b4489beef2e41e9776ec5e13e6f14 (patch) | |
tree | 55cd8b2316a129eef129b79e9aac9fbff23eddcd /Alc | |
parent | 1a90c7f498491b85985f46c18463730f492535a8 (diff) |
Include sys/sysconf.h if available for sysconf()
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/helpers.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c index 30c5537e..f8a5f13b 100644 --- a/Alc/helpers.c +++ b/Alc/helpers.c @@ -61,6 +61,9 @@ DEFINE_DEVPROPKEY(DEVPKEY_Device_FriendlyName, 0xa45c254e, 0xdf1c, 0x4efd, 0x80, #ifdef HAVE_CPUID_H #include <cpuid.h> #endif +#ifdef HAVE_SYS_SYSCONF_H +#include <sys/sysconf.h> +#endif #ifdef HAVE_FLOAT_H #include <float.h> #endif |