[FFmpeg-devel] [PATCH] Use proper header for OpenBSD PPC CPU detection

Brad Smith brad at comstyle.com
Fri Jun 24 02:19:41 EEST 2022


ping.

On 3/2/2022 8:34 PM, Brad Smith wrote:
> 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__)
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list