From 0ffba9feb649f9c5c286aa836635f3bdb2f70daa Mon Sep 17 00:00:00 2001 From: Michael Niedermayer <michaelni@gmx.at> Date: Tue, 8 Jul 2014 02:50:24 +0200 Subject: [PATCH] avutil/cpu: Use HAVE_UNISTD_H instead of HAVE_SYSCONF for #include <unistd.h> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> --- libavutil/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/cpu.c b/libavutil/cpu.c index 454326cf2c9..2d402117d04 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 -- GitLab