[PATCH] ntdll: Include <stdarg.h> in unix/debug.c.

Gerald Pfeifer gerald at pfeifer.com
Mon Jun 1 18:00:55 CDT 2020


commit e6e2f2325a0a4eb14f10dd6df319b068761e9600
Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri May 29 15:48:44 2020 +0200

    ntdll: Don't include ntdll_misc.h from the Unix library.

indirectly removed the inclusion of <stdarg.h> which alas is required
to build unix/debug.c where it is needed for windef.h that uses va_list,
at least on x86 (32-bit).

Signed-off-by: Gerald Pfeifer <gerald at pfeifer.com>
---
 dlls/ntdll/unix/debug.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/ntdll/unix/debug.c b/dlls/ntdll/unix/debug.c
index 12e9cdd36d..2aa6548b36 100644
--- a/dlls/ntdll/unix/debug.c
+++ b/dlls/ntdll/unix/debug.c
@@ -26,6 +26,7 @@
 #include "wine/port.h"
 
 #include <assert.h>
+#include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-- 
2.25.0



More information about the wine-devel mailing list