Fwd: [winternl.h]Add missing header file
Sütő Gergely
geri at aplusnet.hu
Mon Nov 21 12:52:38 CST 2005
> 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 at 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>
More information about the wine-devel
mailing list