0002-fix-headers.patch 588 B

123456789101112131415161718192021222324
  1. ---
  2. src/interface.c | 2 +-
  3. 1 file changed, 1 insertion(+), 1 deletion(-)
  4. Index: ifplugd-0.28/src/interface.c
  5. ===================================================================
  6. --- ifplugd-0.28.orig/src/interface.c
  7. +++ ifplugd-0.28/src/interface.c
  8. @@ -23,7 +23,6 @@
  9. #endif
  10. #include <linux/sockios.h>
  11. -#include <linux/if_ether.h>
  12. #include <sys/types.h>
  13. #include <sys/socket.h>
  14. #include <sys/ioctl.h>
  15. @@ -32,6 +31,7 @@
  16. #include <string.h>
  17. #include <errno.h>
  18. #include <netinet/in.h>
  19. +#include <netinet/if_ether.h>
  20. #include <stdio.h>
  21. #include <ctype.h>
  22. #include <stdlib.h>