Fix dlls/cryptnet/cryptnet_main.c on FreeBSD

Gerald Pfeifer gerald at pfeifer.com
Wed Sep 17 18:21:13 CDT 2008


The following change to dlls/cryptnet/cryptnet_main.c broke FreeBSD:

  cryptnet: Define CERT_REVOCATION_PARA_HAS_EXTRA_FIELDS before including 
  any PSDK headers.

By means of the removal of #include <stdio.h> we no longer define va_list
which is, however, used by ../../include/winbase.h.  The patch below fixes
this by including stdarg.h.

Gerald

ChangeLog:
#include <stdarg.h>

Index: dlls/cryptnet/cryptnet_main.c
===================================================================
RCS file: /home/wine/wine/dlls/cryptnet/cryptnet_main.c,v
retrieving revision 1.25
diff -u -3 -p -r1.25 cryptnet_main.c
--- dlls/cryptnet/cryptnet_main.c	17 Sep 2008 12:16:30 -0000	1.25
+++ dlls/cryptnet/cryptnet_main.c	17 Sep 2008 23:20:18 -0000
@@ -26,6 +26,7 @@
 #define CERT_REVOCATION_PARA_HAS_EXTRA_FIELDS
 
 #include <stdio.h>
+#include <stdarg.h>
 
 #include "windef.h"
 #include "winbase.h"



More information about the wine-patches mailing list