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