--- a/src/ds2438.c     2015-12-22 04:47:28.000000000 +0100
+++ b/src/ds2438.c     2017-07-02 22:52:36.671830316 +0200
@@ -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   2015-12-22 04:47:28.000000000 +0100
+++ b/userial/ad26.c   2017-07-02 22:58:03.902024016 +0200
@@ -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  2015-12-22 04:47:28.000000000 +0100
+++ b/userial/cnt1d.c  2017-07-02 22:56:26.850619935 +0200
@@ -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        2015-12-22 04:47:28.000000000 +0100
+++ b/userial/crcutil.c        2017-07-02 22:55:13.631039389 +0200
@@ -29,6 +29,7 @@

 // Include files
 #include "ownet.h"
+#include "sys/types.h"

 // Local subroutines
 void setcrc16(int,ushort);

--- a/userial/ds9097u/owtrnu.c 2015-12-22 04:47:28.000000000 +0100
+++ b/userial/ds9097u/owtrnu.c 2017-07-02 23:00:52.320902969 +0200
@@ -39,6 +39,7 @@
 //                        Added file I/O operations
 //

+#include "sys/types.h"
 #include "ownet.h"
 #include "ds2480.h"

--- a/userial/ioutil.c 2015-12-22 04:47:28.000000000 +0100
+++ b/userial/ioutil.c 2017-07-02 22:55:48.378843851 +0200
@@ -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        2015-12-22 04:47:28.000000000 +0100
+++ b/userial/owproto.h        2017-07-02 22:58:59.561664538 +0200
@@ -1,3 +1,4 @@
+#include "sys/types.h"
 /* Prototypes for userial driver functions */

 /* From other low level userial files */