PATCH: dlls/cabinet/cabextract.c and off_t

Gerald Pfeifer pfeifer at dbai.tuwien.ac.at
Thu Dec 26 14:48:07 CST 2002


If we really want to use off_t in this file (instead of cab_off_t)
we need to #include sys/types.h, or we'll break non-Linux systems.

Gerald


ChangeLog:
#include <sys/types.h> to obtain off_t.

Index: cabextract.c
===================================================================
RCS file: /home/wine/wine/dlls/cabinet/cabextract.c,v
retrieving revision 1.1
diff -u -3 -p -r1.1 cabextract.c
--- cabextract.c	19 Dec 2002 21:16:56 -0000	1.1
+++ cabextract.c	26 Dec 2002 20:46:46 -0000
@@ -29,6 +29,7 @@
 #include "config.h"

 #include <stdlib.h>
+#include <sys/types.h>

 #include "windef.h"
 #include "winbase.h"



More information about the wine-patches mailing list