File fix-implicit.patch of Package UnLZX2

Index: UnLZX2-2.16/UnLZX2/src/unlzx.c
===================================================================
--- UnLZX2-2.16.orig/UnLZX2/src/unlzx.c
+++ UnLZX2-2.16/UnLZX2/src/unlzx.c
@@ -8,6 +8,8 @@
 */
 
 #include "unlzx.h"
+#include <sys/stat.h>                                                                                                                 
+#include <sys/types.h>                                                                                                                
 
 #ifdef AMIGA
 static unsigned char *version_string = "$VER: UnLZX " UNLZX_VERSION " (" UNLZX_VERDATE ")";
Index: UnLZX2-2.16/UnLZX2/src/unlzx.h
===================================================================
--- UnLZX2-2.16.orig/UnLZX2/src/unlzx.h
+++ UnLZX2-2.16/UnLZX2/src/unlzx.h
@@ -17,7 +17,7 @@
 */
 
 #ifndef AMIGA
-#include <windows.h>
+//#include <windows.h>
 #else
 #include <exec/types.h>
 LONG mkdir(STRPTR path, UWORD perm);
openSUSE Build Service is sponsored by