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

Brad Smith git at videolan.org
Sun May 19 02:04:36 EEST 2024


ffmpeg | branch: release/4.4 | Brad Smith <brad at comstyle.com> | Wed Mar  2 20:34:53 2022 -0500| [8184fd878dcb48d52b1735ed09931c0a755b632c] | committer: Brad Smith

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>
(cherry picked from commit beaf172d75da1580532e241be5ff546c806abd41)
Signed-off-by: Brad Smith <brad at comstyle.com>

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

 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 9229b83072..bc8bb5f47c 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