[FFmpeg-cvslog] avutil/ppc/cpu: Use proper header for OpenBSD PPC CPU detection

Brad Smith git at videolan.org
Sat Jun 25 13:17:20 EEST 2022


ffmpeg | branch: master | Brad Smith <brad at comstyle.com> | Wed Mar  2 20:34:53 2022 -0500| [beaf172d75da1580532e241be5ff546c806abd41] | committer: Michael Niedermayer

avutil/ppc/cpu: Use proper header for OpenBSD PPC CPU detection

Use the proper header for PPC CPU detection code. sys/param.h includes
sys/types, but sys/types.h is the more appropriate header to be used
here.

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=beaf172d75da1580532e241be5ff546c806abd41
---

 libavutil/ppc/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/ppc/cpu.c b/libavutil/ppc/cpu.c
index b022149fa0..96b491c716 100644
--- a/libavutil/ppc/cpu.c
+++ b/libavutil/ppc/cpu.c
@@ -28,7 +28,7 @@
 #include <unistd.h>
 #endif
 #elif defined(__OpenBSD__)
-#include <sys/param.h>
+#include <sys/types.h>
 #include <sys/sysctl.h>
 #include <machine/cpu.h>
 #elif defined(__AMIGAOS4__)



More information about the ffmpeg-cvslog mailing list