PATCH: dlls/cabinet/cabextract.c and off_t

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux