File jtools-lseek.patch of Package jtools

Index: jtools/jcode.c
===================================================================
--- jtools.orig/jcode.c
+++ jtools/jcode.c
@@ -104,6 +104,7 @@ FILE HANDLING:
 #ifndef THINK_C
 #include <errno.h>
 #endif
+#include <unistd.h>
 
 #define INPUT        1
 #define OUTPUT       2
Index: jtools/jconv.c
===================================================================
--- jtools.orig/jconv.c
+++ jtools/jconv.c
@@ -112,6 +112,7 @@ FILE HANDLING:
 #ifndef THINK_C
 #include <errno.h>
 #endif
+#include <unistd.h>
 
 #define INPUT       1
 #define OUTPUT      2
openSUSE Build Service is sponsored by