[FFmpeg-devel] [PATCH] Use proper header for OpenBSD PPC CPU detection
Brad Smith
brad at comstyle.com
Thu Mar 3 03:34:53 EET 2022
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.
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-devel
mailing list