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.

68 lines
1.4 KiB

  1. --- a/src/ds2438.c
  2. +++ b/src/ds2438.c
  3. @@ -5,6 +5,7 @@
  4. Licensed under GPL v2
  5. ----------------------------------------------------------------------- */
  6. #include <stdio.h>
  7. +#include <sys/types.h>
  8. #include "ownet.h"
  9. #include "ad26.h"
  10. --- a/userial/ad26.c
  11. +++ b/userial/ad26.c
  12. @@ -33,7 +33,7 @@
  13. #include "ownet.h"
  14. #include "ad26.h"
  15. #include "owproto.h"
  16. -
  17. +#include "sys/types.h"
  18. extern int owBlock(int,int,uchar *,int);
  19. extern void setcrc8(int,uchar);
  20. --- a/userial/cnt1d.c
  21. +++ b/userial/cnt1d.c
  22. @@ -29,6 +29,7 @@
  23. // Version: 2.00
  24. //
  25. //
  26. +#include "sys/types.h"
  27. #include "ownet.h"
  28. // external One Wire functions from nework layer
  29. --- a/userial/crcutil.c
  30. +++ b/userial/crcutil.c
  31. @@ -29,6 +29,7 @@
  32. // Include files
  33. #include "ownet.h"
  34. +#include "sys/types.h"
  35. // Local subroutines
  36. void setcrc16(int,ushort);
  37. --- a/userial/ds9097u/owtrnu.c
  38. +++ b/userial/ds9097u/owtrnu.c
  39. @@ -39,6 +39,7 @@
  40. // Added file I/O operations
  41. //
  42. +#include "sys/types.h"
  43. #include "ownet.h"
  44. #include "ds2480.h"
  45. --- a/userial/ioutil.c
  46. +++ b/userial/ioutil.c
  47. @@ -36,6 +36,7 @@
  48. #include <string.h>
  49. #include <ctype.h>
  50. #include "ownet.h"
  51. +#include "sys/types.h"
  52. #ifdef __MC68K__
  53. #include <PalmOS.h>
  54. --- a/userial/owproto.h
  55. +++ b/userial/owproto.h
  56. @@ -1,3 +1,4 @@
  57. +#include "sys/types.h"
  58. /* Prototypes for userial driver functions */
  59. /* From other low level userial files */