Files
telephony/net/rtpproxy/patches/100-no-sysctl-on-musl.patch
Daniel Golle d1c2023088 rtpproxy: fix build on musl
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-24 13:48:30 +02:00

15 lines
366 B
Diff

Index: rtpproxy-2.0.0/src/rtpp_util.c
===================================================================
--- rtpproxy-2.0.0.orig/src/rtpp_util.c
+++ rtpproxy-2.0.0/src/rtpp_util.c
@@ -28,7 +28,9 @@
#include <sys/time.h>
#include <sys/types.h>
+#ifdef __GLIBC__
#include <sys/sysctl.h>
+#endif
#include <sys/resource.h>
#include <errno.h>
#include <fcntl.h>