--- mozilla-release.orig/media/mtransport/third_party/nICEr/src/stun/addrs.c	2013-12-05 17:07:48.000000000 +0100
+++ mozilla-release/media/mtransport/third_party/nICEr/src/stun/addrs.c	2014-02-05 07:19:01.000000000 +0100
@@ -53,7 +53,9 @@ static char *RCSSTRING __UNUSED__="$Id: 
 #undef __unused
 #include <linux/sysctl.h>
 #endif
+#if defined(__GLIBC__)
 #include <net/if.h>
+#endif
 #ifndef LINUX
 #if !defined(__OpenBSD__) && !defined(__NetBSD__)
 #include <net/if_var.h>
@@ -61,14 +63,17 @@ static char *RCSSTRING __UNUSED__="$Id: 
 #include <net/if_dl.h>
 #include <net/if_types.h>
 #include <sys/sockio.h>
-#else
+#elif defined(__GLIBC__)
 #include <linux/sockios.h>
 #include <linux/if.h>
 #include <linux/kernel.h>
 #include <linux/wireless.h>
-#ifndef ANDROID
 #include <linux/ethtool.h>
-#endif
+#else
+#include <linux/sockios.h>
+#include <linux/kernel.h>
+#include <linux/wireless.h>
+#include <linux/ethtool.h>
 #endif
 #include <net/route.h>
 
