aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-third__party_ffmpeg_libavutil_cpu.c
blob: aeb14bb03c9d0be33832d39b609968da7bb26548 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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