Anyone know why this patch wasn't applied ? I don't know about anyone else but I'm still getting va_list undeclared.
Bob
---------- Forwarded Message ----------
Subject: [winternl.h]Add missing header file Date: Friday 11 November 2005 03:29 From: Sütő Gergely geri@aplusnet.hu To: wine-patches@winehq.org
ChangeLog: Add a missing stdarg.h includes.
This is my first patch please check it! :)
BYe: Geri_
-------------------------------------------------------
On Sun, Nov 20, 2005 at 11:25:27PM +1000, Robert Lunnon wrote:
Anyone know why this patch wasn't applied ? I don't know about anyone else but I'm still getting va_list undeclared.
It might not do what you want ...
In which file? Under Linux?
Ciao, Marcus
Robert Lunnon bobl@optushome.com.au writes:
Anyone know why this patch wasn't applied ? I don't know about anyone else but I'm still getting va_list undeclared.
The stdarg.h include has to go in the C files that need it, not in the header since it's not in the Windows header.
The stdarg.h include has to go in the C files that need it, not in the header since it's not in the Windows header.
-- Alexandre Julliard julliard@winehq.org
Hi Alexandre! Please check this patch. Can it to fix the "va_list undeclared" bug?
Best Regards Geri_
---
Index: server/event.c =================================================================== RCS file: /home/wine/wine/server/event.c,v retrieving revision 1.35 diff -u -r1.35 event.c --- server/event.c 21 Nov 2005 16:27:03 -0000 1.35 +++ server/event.c 21 Nov 2005 18:35:16 -0000 @@ -22,6 +22,7 @@ #include "wine/port.h"
#include <assert.h> +#include <stdarg.h> #include <stdio.h> #include <stdlib.h>
Index: server/mutex.c =================================================================== RCS file: /home/wine/wine/server/mutex.c,v retrieving revision 1.33 diff -u -r1.33 mutex.c --- server/mutex.c 21 Nov 2005 16:27:03 -0000 1.33 +++ server/mutex.c 21 Nov 2005 18:35:16 -0000 @@ -22,6 +22,7 @@ #include "wine/port.h"
#include <assert.h> +#include <stdarg.h> #include <stdio.h> #include <stdlib.h>
Index: server/object.c =================================================================== RCS file: /home/wine/wine/server/object.c,v retrieving revision 1.38 diff -u -r1.38 object.c --- server/object.c 21 Nov 2005 16:27:03 -0000 1.38 +++ server/object.c 21 Nov 2005 18:35:19 -0000 @@ -24,6 +24,7 @@ #include <assert.h> #include <limits.h> #include <stdlib.h> +#include <stdarg.h> #include <stdio.h> #include <string.h> #include <unistd.h> Index: server/semaphore.c =================================================================== RCS file: /home/wine/wine/server/semaphore.c,v retrieving revision 1.33 diff -u -r1.33 semaphore.c --- server/semaphore.c 21 Nov 2005 16:27:03 -0000 1.33 +++ server/semaphore.c 21 Nov 2005 18:35:19 -0000 @@ -22,6 +22,7 @@ #include "wine/port.h"
#include <assert.h> +#include <stdarg.h> #include <stdio.h> #include <stdlib.h>
Index: server/timer.c =================================================================== RCS file: /home/wine/wine/server/timer.c,v retrieving revision 1.32 diff -u -r1.32 timer.c --- server/timer.c 21 Nov 2005 16:27:03 -0000 1.32 +++ server/timer.c 21 Nov 2005 18:35:19 -0000 @@ -22,6 +22,7 @@ #include "wine/port.h"
#include <assert.h> +#include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <sys/time.h>