1
0

patch-src_knockd_c 667 B

1234567891011121314151617181920212223
  1. --- knock-0.6.orig/src/knockd.c 2013-04-08 20:11:56.000000000 +0200
  2. +++ knock-0.6/src/knockd.c 2014-01-16 16:59:04.000000000 +0100
  3. @@ -28,8 +28,8 @@
  4. #include <ctype.h>
  5. #include <string.h>
  6. #include <fcntl.h>
  7. -#if defined(__FreeBSD__) || defined(__APPLE__)
  8. #include <limits.h>
  9. +#if defined(__FreeBSD__) || defined(__APPLE__)
  10. #include <sys/socket.h>
  11. #include <netinet/in_systm.h>
  12. #endif
  13. @@ -40,10 +40,6 @@
  14. #include <netinet/udp.h>
  15. #include <netinet/ip_icmp.h>
  16. #include <net/if.h>
  17. -#if !defined(__FreeBSD__) && !defined(__APPLE__)
  18. -#include <bits/time.h>
  19. -#include <linux/limits.h>
  20. -#endif
  21. #include <sys/types.h>
  22. #include <sys/wait.h>
  23. #include <sys/ioctl.h>