PATCH: dlls/crypt32/rootstore.c

Gerald Pfeifer gerald at pfeifer.com
Wed Sep 12 04:24:50 CDT 2007


This restores the build on FreeBSD 6.2 (and presumably other non-Linux
systems).

Gerald

ChangeLog:
#include <limits.h> to obtain PATH_MAX.

Index: dlls/crypt32/rootstore.c
===================================================================
RCS file: /home/wine/wine/dlls/crypt32/rootstore.c,v
retrieving revision 1.1
diff -u -3 -p -r1.1 rootstore.c
--- dlls/crypt32/rootstore.c	11 Sep 2007 12:30:29 -0000	1.1
+++ dlls/crypt32/rootstore.c	12 Sep 2007 09:23:08 -0000
@@ -24,6 +24,9 @@
 #ifdef HAVE_SYS_STAT_H
 #include <sys/stat.h>
 #endif
+#ifdef HAVE_LIMITS_H
+#include <limits.h>
+#endif
 #include <dirent.h>
 #include <fcntl.h>
 #ifdef HAVE_UNISTD_H
Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.704
diff -u -3 -p -r1.704 configure.ac
--- configure.ac	11 Sep 2007 12:30:20 -0000	1.704
+++ configure.ac	12 Sep 2007 09:23:09 -0000
@@ -183,6 +183,7 @@ AC_CHECK_HEADERS(\
 	lcms/lcms.h \
 	ldap.h \
 	libaudioio.h \
+	limits.h \
 	link.h \
 	linux/cdrom.h \
 	linux/compiler.h \



More information about the wine-patches mailing list