blob: 8946a56aff3bbc1e3aa2ede99ac9294ffaa01b1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# HG changeset patch
# User Felix Janda <felix.janda@posteo.de>
# Date 1423171460 -3600
# Thu Feb 05 22:24:20 2015 +0100
# Node ID af818fbea923d7c026bc8e22a6512f14f788ba56
# Parent 9c40ffbcf6b32d688abf089f2cce3c85dd8bdb29
Bug 1130175 - nICEr: avoid sysctl.h include. r=bwc
diff -r 9c40ffbcf6b3 -r af818fbea923 media/mtransport/third_party/nICEr/src/stun/addrs.c
--- a/media/mtransport/third_party/nICEr/src/stun/addrs.c Mon Feb 23 07:39:00 2015 -0500
+++ b/media/mtransport/third_party/nICEr/src/stun/addrs.c Thu Feb 05 22:24:20 2015 +0100
@@ -45,13 +45,11 @@
#include <sys/param.h>
#include <sys/socket.h>
#ifndef ANDROID
-#include <sys/sysctl.h>
#include <sys/syslog.h>
#else
#include <syslog.h>
/* Work around an Android NDK < r8c bug */
#undef __unused
-#include <linux/sysctl.h>
#endif
#ifndef LINUX
#include <net/if.h>
@@ -122,6 +120,7 @@
*/
#include <err.h>
+#include <sys/sysctl.h>
static void stun_rt_xaddrs(caddr_t, caddr_t, struct rt_addrinfo *);
static int stun_grab_addrs(char *name, int addrcount,
|