aboutsummaryrefslogtreecommitdiffstats
path: root/community/firefox-esr/fix-webrtc-glibcisms.patch
blob: dc9206b50ec7f5bb8989598e2024c9feb1396d49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ./media/webrtc/trunk/webrtc/system_wrappers/source/cpu_features_linux.c.orig	2018-05-09 23:48:44.677389171 +0200
+++ ./media/webrtc/trunk/webrtc/system_wrappers/source/cpu_features_linux.c	2018-05-09 23:48:56.254373557 +0200
@@ -11,7 +11,9 @@
 #include <stdlib.h>
 #include <string.h>
 #include <features.h>
-#if __GLIBC_PREREQ(2, 16)
+#if !defined(__GLIBC__)
+#include <sys/auxv.h>
+#elif __GLIBC_PREREQ(2, 16)
 #include <sys/auxv.h>
 #else
 #include <fcntl.h>