~ubuntu-branches/debian/jessie/digitemp/jessie

« back to all changes in this revision

Viewing changes to contrib/digitemp-freebsd.patch

  • Committer: Bazaar Package Importer
  • Author(s): Jesus Roncero
  • Date: 2004-09-01 01:34:37 UTC
  • Revision ID: james.westby@ubuntu.com-20040901013437-eicsrrd40dr371u0
Tags: upstream-3.3.2
ImportĀ upstreamĀ versionĀ 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff -urN digitemp-3.2.0-org/userial/cnt1d.c digitemp-3.2.0/userial/cnt1d.c
 
2
--- digitemp-3.2.0-org/userial/cnt1d.c  Thu May 22 03:50:21 2003
 
3
+++ digitemp-3.2.0/userial/cnt1d.c      Sat Oct 25 18:17:41 2003
 
4
@@ -30,6 +30,8 @@
 
5
 //
 
6
 //
 
7
 #include "ownet.h"
 
8
+#include <sys/types.h>
 
9
+typedef unsigned long ulong;
 
10
 
 
11
 // external One Wire functions from nework layer
 
12
 extern SMALLINT owAccess(int);
 
13
diff -urN digitemp-3.2.0-org/userial/crcutil.c digitemp-3.2.0/userial/crcutil.c
 
14
--- digitemp-3.2.0-org/userial/crcutil.c        Thu May 22 03:50:20 2003
 
15
+++ digitemp-3.2.0/userial/crcutil.c    Sat Oct 25 18:17:41 2003
 
16
@@ -29,6 +29,7 @@
 
17
 
 
18
 // Include files
 
19
 #include "ownet.h"
 
20
+#include <sys/types.h>
 
21
 
 
22
 // Local subroutines
 
23
 void setcrc16(int,ushort);
 
24
diff -urN digitemp-3.2.0-org/userial/ds9097/owtran.c digitemp-3.2.0/userial/ds9097/owtran.c
 
25
--- digitemp-3.2.0-org/userial/ds9097/owtran.c  Thu May 22 03:50:19 2003
 
26
+++ digitemp-3.2.0/userial/ds9097/owtran.c      Sat Oct 25 18:17:41 2003
 
27
@@ -34,6 +34,7 @@
 
28
 //
 
29
 
 
30
 #include "ownet.h"
 
31
+#include <sys/types.h>
 
32
 
 
33
 //--------------------------------------------------------------------------
 
34
 // The 'owBlock' transfers a block of data to and from the
 
35
diff -urN digitemp-3.2.0-org/userial/ds9097u/owtrnu.c digitemp-3.2.0/userial/ds9097u/owtrnu.c
 
36
--- digitemp-3.2.0-org/userial/ds9097u/owtrnu.c Thu May 22 03:50:20 2003
 
37
+++ digitemp-3.2.0/userial/ds9097u/owtrnu.c     Sat Oct 25 18:17:41 2003
 
38
@@ -41,6 +41,7 @@
 
39
 
 
40
 #include "ownet.h"
 
41
 #include "ds2480.h"
 
42
+#include <sys/types.h>
 
43
 
 
44
 // external functions defined in owllu.c
 
45
 extern SMALLINT owTouchReset(int);
 
46
diff -urN digitemp-3.2.0-org/userial/ioutil.c digitemp-3.2.0/userial/ioutil.c
 
47
--- digitemp-3.2.0-org/userial/ioutil.c Thu May 22 03:50:21 2003
 
48
+++ digitemp-3.2.0/userial/ioutil.c     Sat Oct 25 18:17:41 2003
 
49
@@ -37,6 +37,8 @@
 
50
 #include <ctype.h>
 
51
 #include "ownet.h"
 
52
 
 
53
+typedef unsigned long ulong;
 
54
+
 
55
 #ifdef __MC68K__
 
56
 #include <PalmOS.h>
 
57
 #include <Window.h>
 
58
diff -urN digitemp-3.2.0-org/userial/owproto.h digitemp-3.2.0/userial/owproto.h
 
59
--- digitemp-3.2.0-org/userial/owproto.h        Thu May 22 03:50:21 2003
 
60
+++ digitemp-3.2.0/userial/owproto.h    Sat Oct 25 18:17:41 2003
 
61
@@ -29,7 +29,7 @@
 
62
    char *owGetErrorMsg(int);
 
63
 #endif
 
64
                
 
65
-
 
66
+typedef unsigned long ulong;
 
67
 
 
68
 /* From ioutil.c */
 
69
 int EnterString(char *, char *, int, int);