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

Michael Stefaniuc mstefani at winehq.org
Fri Apr 21 10:07:03 CDT 2017


Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

On 04/21/2017 02:09 PM, Gerald Pfeifer wrote:
> 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>
> 




More information about the wine-patches mailing list