OpenSDE Packages Database (without history before r20070)
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.

32 lines
720 B

  1. --- 4g8-1.0/src/globals.h.orig 2007-09-18 01:17:36.000000000 +0200
  2. +++ 4g8-1.0/src/globals.h 2007-09-18 01:30:41.000000000 +0200
  3. @@ -31,7 +31,13 @@
  4. #include <libnet.h>
  5. #include <pcap.h>
  6. #include <sys/types.h>
  7. +
  8. +#ifdef HAVE_BPF
  9. #include <net/bpf.h>
  10. +#elif HAVE_PCAP
  11. +#include <pcap-bpf.h>
  12. +#endif
  13. +
  14. #include <signal.h>
  15. #include <time.h>
  16. #include <stdio.h>
  17. --- 4g8-1.0/src/main.h.orig 2007-09-18 01:31:38.000000000 +0200
  18. +++ 4g8-1.0/src/main.h 2007-09-18 01:32:30.000000000 +0200
  19. @@ -26,7 +26,13 @@
  20. #include <libnet.h>
  21. #include <pcap.h>
  22. #include <sys/types.h>
  23. +
  24. +#ifdef HAVE_BPF
  25. #include <net/bpf.h>
  26. +#elif HAVE_PCAP
  27. +#include <pcap-bpf.h>
  28. +#endif
  29. +
  30. #include <signal.h>
  31. #include <time.h>
  32. #include <stdio.h>