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.

61 lines
1.4 KiB

  1. --- a/include/sane/sanei_udp.h
  2. +++ b/include/sane/sanei_udp.h
  3. @@ -27,6 +27,7 @@
  4. #include <netinet/in.h>
  5. #include <netdb.h>
  6. #endif
  7. +#include <sys/types.h>
  8. extern SANE_Status sanei_udp_open(const char *host, int port, int *fdp);
  9. extern SANE_Status sanei_udp_open_broadcast(int *fdp);
  10. --- a/backend/kvs20xx_cmd.h
  11. +++ b/backend/kvs20xx_cmd.h
  12. @@ -9,6 +9,8 @@
  13. Panasonic KV-S20xx USB-SCSI scanners.
  14. */
  15. +#include <sys/types.h>
  16. +
  17. #define COMMAND_BLOCK 1
  18. #define DATA_BLOCK 2
  19. #define RESPONSE_BLOCK 3
  20. --- a/backend/kvs40xx.h
  21. +++ b/backend/kvs40xx.h
  22. @@ -10,6 +10,7 @@
  23. #include "../include/sane/config.h"
  24. #include <semaphore.h>
  25. +#include <sys/types.h>
  26. #undef BACKEND_NAME
  27. #define BACKEND_NAME kvs40xx
  28. --- a/backend/hp5400.c
  29. +++ b/backend/hp5400.c
  30. @@ -67,6 +67,7 @@
  31. #include <stdlib.h> /* malloc, free */
  32. #include <string.h> /* memcpy */
  33. #include <stdio.h>
  34. +#include <sys/types.h>
  35. #define HP5400_CONFIG_FILE "hp5400.conf"
  36. --- a/backend/hp5590.c
  37. +++ b/backend/hp5590.c
  38. @@ -48,6 +48,7 @@
  39. #include <stdio.h>
  40. #include <string.h>
  41. #include <unistd.h>
  42. +#include <sys/types.h>
  43. #include "../include/sane/sane.h"
  44. #define BACKEND_NAME hp5590
  45. --- a/backend/epsonds-io.c
  46. +++ b/backend/epsonds-io.c
  47. @@ -16,6 +16,7 @@
  48. #include "sane/config.h"
  49. #include <ctype.h>
  50. #include <unistd.h> /* sleep */
  51. +#include <sys/types.h>
  52. #include "epsonds.h"
  53. #include "epsonds-io.h"