[PATCH] msvcrt: #include <stdarg.h> from unixlib.c

Gerald Pfeifer gerald at pfeifer.com
Thu Nov 19 13:57:36 CST 2020


commit c72e1b096d16a1e9a36b86fbc8c403ec3653a504
Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Nov 18 16:14:50 2020 +0100

    msvcrt: Move math functions to a new Unix library.
    
    Signed-off-by: Alexandre Julliard <julliard at winehq.org>

broke the build on FreeBSD whose system headers do not pull in
others as commonly as is the case on GNU/Linux systems.

Explicitly including <stdarg.h> addresses this.

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

diff --git a/dlls/msvcrt/unixlib.c b/dlls/msvcrt/unixlib.c
index edc3d96af4a..b64355ebf16 100644
--- a/dlls/msvcrt/unixlib.c
+++ b/dlls/msvcrt/unixlib.c
@@ -26,6 +26,7 @@
 #include "wine/port.h"
 
 #include <stdio.h>
+#include <stdarg.h>
 #define __USE_ISOC9X 1
 #define __USE_ISOC99 1
 #include <math.h>
-- 
2.28.0



More information about the wine-devel mailing list