summaryrefslogtreecommitdiffstats
path: root/Alc/helpers.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-01-18 19:16:46 -0800
committerChris Robinson <[email protected]>2014-01-18 19:16:46 -0800
commit748be9a97d2b4489beef2e41e9776ec5e13e6f14 (patch)
tree55cd8b2316a129eef129b79e9aac9fbff23eddcd /Alc/helpers.c
parent1a90c7f498491b85985f46c18463730f492535a8 (diff)
Include sys/sysconf.h if available for sysconf()
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r--Alc/helpers.c3
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