2
1

0002-network-ifconfig-include-linux-if_slip.h-instead-of-.patch 988 B

123456789101112131415161718192021222324252627282930313233
  1. From 5eae213031a3ef88fe8d9d0a387f44264ea635cc Mon Sep 17 00:00:00 2001
  2. From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  3. Date: Sat, 5 Oct 2013 15:53:16 +0200
  4. Subject: [PATCH 2/3] network/ifconfig: include <linux/if_slip.h> instead of
  5. <net/if_slip.h>
  6. The musl C library doesn't provide the <net/if_slip.h> since userspace
  7. applications can just as well use the <linux/if_slip.h> kernel header.
  8. This commit fixes the build of the ifconfig applet with the musl C
  9. library.
  10. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  11. ---
  12. networking/ifconfig.c | 2 +-
  13. 1 file changed, 1 insertion(+), 1 deletion(-)
  14. diff --git a/networking/ifconfig.c b/networking/ifconfig.c
  15. index 782374b..c90ed6b 100644
  16. --- a/networking/ifconfig.c
  17. +++ b/networking/ifconfig.c
  18. @@ -56,7 +56,7 @@
  19. #endif
  20. #if ENABLE_FEATURE_IFCONFIG_SLIP
  21. -# include <net/if_slip.h>
  22. +# include <linux/if_slip.h>
  23. #endif
  24. /* I don't know if this is needed for busybox or not. Anyone? */
  25. --
  26. 1.8.1.2