123456789101112131415161718192021222324252627282930313233 |
- --- 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-01-03 13:06:22.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>
-
|