wineps.drv: Add missing #include <stdarg.h> in support of #include "windef.h". "windef.h".

Gerald Pfeifer gerald at pfeifer.com
Fri Apr 21 07:09:28 CDT 2017


commit e70eb5366950486a55fd0fe238190997afbb670f
Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Mon Apr 17 21:42:04 2017 +0200

    wineps.drv: Use SetRect/SetRectEmpty instead of open coding them.
 
broke the build on FreeBSD 10 and probably other platforms that are
less aggressive about providing/including other headers than glibc.

Luckily the fix is straightfoward... :-)

Gerald


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

diff --git a/dlls/wineps.drv/graphics.c b/dlls/wineps.drv/graphics.c
index ab6fe45ecb..4887bd0b42 100644
--- a/dlls/wineps.drv/graphics.c
+++ b/dlls/wineps.drv/graphics.c
@@ -20,6 +20,7 @@
 
 #include "config.h"
 
+#include <stdarg.h>
 #include <stdio.h>
 #include <string.h>
 #include <math.h>
-- 
2.11.0



More information about the wine-patches mailing list