diff options
Diffstat (limited to 'src/gallium/state_trackers/omx/entrypoint.c')
-rw-r--r-- | src/gallium/state_trackers/omx/entrypoint.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/omx/entrypoint.c b/src/gallium/state_trackers/omx/entrypoint.c index 5afb58be3a3..fa2074ad1b7 100644 --- a/src/gallium/state_trackers/omx/entrypoint.c +++ b/src/gallium/state_trackers/omx/entrypoint.c @@ -35,7 +35,13 @@ #include <string.h> #include <stdbool.h> +#if defined(HAVE_X11_PLATFORM) #include <X11/Xlib.h> +#else +#define XOpenDisplay(x) NULL +#define XCloseDisplay(x) +#define Display void +#endif #include "os/os_thread.h" #include "util/u_memory.h" |