summaryrefslogtreecommitdiff
path: root/libavutil/ppc
diff options
context:
space:
mode:
authorBrad Smith <brad@comstyle.com>2022-03-02 20:34:53 -0500
committerMichael Niedermayer <michael@niedermayer.cc>2022-06-25 12:16:51 +0200
commitbeaf172d75da1580532e241be5ff546c806abd41 (patch)
tree70ba8cb7871fa914fefb8f661c8f4debe141aa57 /libavutil/ppc
parentc7ce03d826e9c7914876333f4ca1445394bd22fd (diff)
downloadffmpeg-beaf172d75da1580532e241be5ff546c806abd41.tar.gz
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@niedermayer.cc>
Diffstat (limited to 'libavutil/ppc')
-rw-r--r--libavutil/ppc/cpu.c2
1 files changed, 1 insertions, 1 deletions
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__)