avutil/cpu: Use HAVE_UNISTD_H instead of HAVE_SYSCONF for #include <unistd.h>
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 8 Jul 2014 00:50:24 +0000 (02:50 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 8 Jul 2014 00:50:52 +0000 (02:50 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/cpu.c

index 454326c..2d40211 100644 (file)
@@ -40,7 +40,7 @@
 #include <sys/types.h>
 #include <sys/sysctl.h>
 #endif
-#if HAVE_SYSCONF
+#if HAVE_UNISTD_H
 #include <unistd.h>
 #endif