opnsense-ports/devel/electron22/files/patch-third__party_ffmpeg_libavutil_cpu.c
Franco Fichtner d016c42591 */*: sync with upstream
Taken from: FreeBSD
2023-01-30 10:59:54 +01:00

14 lines
373 B
C

--- third_party/ffmpeg/libavutil/cpu.c.orig 2022-07-22 17:30:31 UTC
+++ third_party/ffmpeg/libavutil/cpu.c
@@ -38,10 +38,7 @@
#if HAVE_GETPROCESSAFFINITYMASK || HAVE_WINRT
#include <windows.h>
#endif
-#if HAVE_SYSCTL
-#if HAVE_SYS_PARAM_H
-#include <sys/param.h>
-#endif
+#if HAVE_SYSCTL && !defined(__OpenBSD__)
#include <sys/types.h>
#include <sys/sysctl.h>
#endif