kernel: update to version 4.4.14
[openwrt/staging/lynxis/omap.git] / target / linux / generic / patches-4.4 / 271-uapi-libc-compat.h-do-not-rely-on-__GLIBC__.patch
index b8e6a3a88204fde259e10d84d4110e5b7c6ae20f..2a29535eeda0d19385000a2e91cb10eaa19d223b 100644 (file)
@@ -28,7 +28,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
  
 -/* Coordinate with glibc net/if.h header. */
 +/* Coordinate with libc net/if.h header. */
  
 -/* Coordinate with glibc net/if.h header. */
 +/* Coordinate with libc net/if.h header. */
- #if defined(_NET_IF_H)
+ #if defined(_NET_IF_H) && defined(__USE_MISC)
  
 -/* GLIBC headers included first so don't define anything
 +/* LIBC headers included first so don't define anything
  
 -/* GLIBC headers included first so don't define anything
 +/* LIBC headers included first so don't define anything