--- mozilla-release.orig/netwerk/sctp/src/user_environment.c	2013-12-05 17:07:52.000000000 +0100
+++ mozilla-release/netwerk/sctp/src/user_environment.c	2014-03-16 17:53:08.000000000 +0100
@@ -35,9 +35,11 @@
 #include <stdint.h>
 #if !defined(__Userspace_os_FreeBSD)
 #if !defined(ANDROID)
+#if defined(__GLIBC__)
 #include <sys/sysctl.h>
 #endif
 #endif
+#endif
 #include <netinet/sctp_os_userspace.h>
 #endif
 #include <user_environment.h>
