PATCH: unbreak dlls/crypt32/encode.c FreeBSD build

Gerald Pfeifer gerald at pfeifer.com
Wed Jul 25 03:17:07 CDT 2007


Long time no patch (or long time no build breakage. ;-)

This is an easy one.

Gerald

ChangeLog:
Also #include <fcntl.h> if existant to obtain off_t.

Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.690
diff -u -3 -p -r1.690 configure.ac
--- configure.ac	12 Jul 2007 13:34:24 -0000	1.690
+++ configure.ac	25 Jul 2007 08:14:37 -0000
@@ -172,6 +172,7 @@ AC_CHECK_HEADERS(\
 	direct.h \
 	dlfcn.h \
 	elf.h \
+	fcntl.h \
 	float.h \
 	fontconfig/fontconfig.h \
 	getopt.h \
Index: dlls/crypt32/encode.c
===================================================================
RCS file: /home/wine/wine/dlls/crypt32/encode.c,v
retrieving revision 1.77
diff -u -3 -p -r1.77 encode.c
--- dlls/crypt32/encode.c	24 Jul 2007 12:07:57 -0000	1.77
+++ dlls/crypt32/encode.c	25 Jul 2007 08:14:37 -0000
@@ -32,6 +32,9 @@
  */
 
 #include <assert.h>
+#ifdef HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
 #include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>



More information about the wine-patches mailing list