summaryrefslogtreecommitdiff
path: root/libavutil/cpu.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-08 02:50:24 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-08 02:50:52 +0200
commit0ffba9feb649f9c5c286aa836635f3bdb2f70daa (patch)
treedbaaab43b343bb421b04dfeb85dd4dd4048d3418 /libavutil/cpu.c
parent576ced55309f3e5ab476a68f2cd1961f07e071a1 (diff)
downloadffmpeg-0ffba9feb649f9c5c286aa836635f3bdb2f70daa.tar.gz
avutil/cpu: Use HAVE_UNISTD_H instead of HAVE_SYSCONF for #include <unistd.h>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/cpu.c')
-rw-r--r--libavutil/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/cpu.c b/libavutil/cpu.c
index 454326cf2c..2d402117d0 100644
--- a/libavutil/cpu.c
+++ b/libavutil/cpu.c
@@ -40,7 +40,7 @@
#include <sys/types.h>
#include <sys/sysctl.h>
#endif
-#if HAVE_SYSCONF
+#if HAVE_UNISTD_H
#include <unistd.h>
#endif