100-fix_includes.patch 566 B

123456789101112131415161718192021222324252627282930
  1. --- a/lib/libfec.c
  2. +++ b/lib/libfec.c
  3. @@ -45,6 +45,7 @@
  4. #include <stdio.h>
  5. #include <stdlib.h>
  6. #include <string.h>
  7. +#include <sys/types.h>
  8. /*
  9. * stuff used for testing purposes only
  10. --- a/serve_image.c
  11. +++ b/serve_image.c
  12. @@ -3,7 +3,6 @@
  13. #include <time.h>
  14. #include <errno.h>
  15. -#include <error.h>
  16. #include <netdb.h>
  17. #include <stdio.h>
  18. #include <stdlib.h>
  19. --- a/recv_image.c
  20. +++ b/recv_image.c
  21. @@ -4,7 +4,6 @@
  22. #define _BSD_SOURCE /* struct ip_mreq */
  23. #include <errno.h>
  24. -#include <error.h>
  25. #include <stdio.h>
  26. #include <netdb.h>
  27. #include <stdlib.h>