winex11: add alternative header

Steven Edwards winehacker at gmail.com
Fri Sep 18 19:18:43 CDT 2009


2009/9/18 André Hentschel <nerv at dawncrow.de>:
> this is my first patch to autoconf-stuff, please tell me if i did something wrong
> see also Bug 20070

I expect It should actually not look like the following

>  #ifdef HAVE_X11_EXTENSIONS_XF86VMODE_H
>  #include <X11/extensions/xf86vmode.h>
> +#elif defined (HAVE_X11_EXTENSIONS_XF86VMPROTO_H)
> +#include <X11/extensions/xf86vmproto.h>
>  #endif

and instead like this:

#ifdef HAVE_X11_EXTENSIONS_XF86VMODE_H
#include <X11/extensions/xf86vmode.h>
#endif
#ifdef HAVE_X11_EXTENSIONS_XF86VMPROTO_H
#include <X11/extensions/xf86vmproto.h>
#endif


Thanks
-- 
Steven Edwards

"There is one thing stronger than all the armies in the world, and
that is an idea whose time has come." - Victor Hugo



More information about the wine-patches mailing list