Commit c05f5445 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

winex11: Include x11drv.h in xrandr.c even if compiling without xrandr.

Make sure we pull in the definition of X11DRV_XRandR_Init(), in particular because it has DECLSPEC_HIDDEN.
parent 2b067734
......@@ -28,7 +28,11 @@
#define NONAMELESSSTRUCT
#define NONAMELESSUNION
#include <assert.h>
#include <X11/Xlib.h>
#include <X11/extensions/Xrandr.h>
#include <dlfcn.h>
#include "x11drv.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(xrandr);
......@@ -38,12 +42,6 @@ WINE_DECLARE_DEBUG_CHANNEL(winediag);
#ifdef SONAME_LIBXRANDR
#include <assert.h>
#include <X11/Xlib.h>
#include <X11/extensions/Xrandr.h>
#include <dlfcn.h>
#include "x11drv.h"
#define VK_NO_PROTOTYPES
#define WINE_VK_HOST
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment