0002-hpav_cfg.c-do-not-include-linux-if_ether.h-for-musl-.patch 817 B

1234567891011121314151617181920212223242526272829303132
  1. From 36eed08a3783df6bb8d92d3c80cd47d0660eeb12 Mon Sep 17 00:00:00 2001
  2. From: Bernd Kuhls <bernd.kuhls@t-online.de>
  3. Date: Sat, 30 Jan 2016 16:27:37 +0100
  4. Subject: [PATCH] hpav_cfg.c: do not include linux/if_ether.h for musl
  5. compatibility
  6. Fixes a build issue with the musl C library
  7. http://autobuild.buildroot.net/results/dc6/dc6e4d7327d2031ef921cccd814605dec73a0f9c/build-end.log
  8. Patch sent upstream: https://github.com/ffainelli/faifa/pull/13
  9. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  10. ---
  11. hpav_cfg.c | 2 --
  12. 1 file changed, 2 deletions(-)
  13. diff --git a/hpav_cfg.c b/hpav_cfg.c
  14. index 7cc53af..45d3f0a 100644
  15. --- a/hpav_cfg.c
  16. +++ b/hpav_cfg.c
  17. @@ -53,8 +53,6 @@
  18. #include <arpa/inet.h>
  19. #include <net/if.h>
  20. -#include <linux/if_ether.h>
  21. -
  22. #include "homeplug_av.h"
  23. #include "crypto.h"
  24. --
  25. 2.7.0.rc3