100-missing_include.patch 711 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --- a/include/mcast.h
  2. +++ b/include/mcast.h
  3. @@ -4,6 +4,7 @@
  4. #include <stdint.h>
  5. #include <netinet/in.h>
  6. #include <net/if.h>
  7. +#include <sys/select.h>
  8. struct mcast_conf {
  9. int ipproto;
  10. --- a/include/tcp.h
  11. +++ b/include/tcp.h
  12. @@ -3,6 +3,7 @@
  13. #include <stdint.h>
  14. #include <netinet/in.h>
  15. +#include <sys/select.h>
  16. struct tcp_conf {
  17. int ipproto;
  18. --- a/include/udp.h
  19. +++ b/include/udp.h
  20. @@ -3,6 +3,7 @@
  21. #include <stdint.h>
  22. #include <netinet/in.h>
  23. +#include <sys/select.h>
  24. struct udp_conf {
  25. int ipproto;
  26. --- a/include/bitops.h
  27. +++ b/include/bitops.h
  28. @@ -2,6 +2,7 @@
  29. #define _BITOPS_H_
  30. #include <stdlib.h>
  31. +#include <sys/types.h>
  32. static inline void set_bit_u32(int nr, u_int32_t *addr)
  33. {