You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
429 B

  1. --- a/src/ptunnel.h
  2. +++ b/src/ptunnel.h
  3. @@ -45,9 +45,6 @@
  4. #define PING_TUNNEL_H 1
  5. #ifndef WIN32
  6. -#ifdef HAVE_ICMPFILTER
  7. -#include <linux/icmp.h>
  8. -#endif
  9. #ifdef HAVE_SYS_UNISTD_H
  10. #include <sys/unistd.h>
  11. #endif
  12. @@ -56,6 +53,9 @@
  13. #include <netinet/in.h>
  14. #include <arpa/inet.h>
  15. #include <netdb.h>
  16. +#ifdef HAVE_ICMPFILTER
  17. +#include <linux/icmp.h>
  18. +#endif
  19. #include <pthread.h>
  20. #include <errno.h>
  21. #include <net/ethernet.h>