rtpproxy: fix build on musl
[feed/telephony.git] / net / rtpproxy / patches / 100-no-sysctl-on-musl.patch
1 Index: rtpproxy-2.0.0/src/rtpp_util.c
2 ===================================================================
3 --- rtpproxy-2.0.0.orig/src/rtpp_util.c
4 +++ rtpproxy-2.0.0/src/rtpp_util.c
5 @@ -28,7 +28,9 @@
6
7 #include <sys/time.h>
8 #include <sys/types.h>
9 +#ifdef __GLIBC__
10 #include <sys/sysctl.h>
11 +#endif
12 #include <sys/resource.h>
13 #include <errno.h>
14 #include <fcntl.h>