E: include uuid.h only when Wayland support is enabled.

libuuid is checked only when Wayland support is enabled and
uuid_t uuid is guarded by HAVE_WAYLAND.

So move include uuid.h below a HAVE_WAYLAND.

Signed-off-by: Romain Naour <romain.naour@gmail.com>

fix T4298
This commit is contained in:
Romain Naour 2016-08-05 21:34:27 +02:00 committed by Mike Blumenkrantz
parent 2f7e22ccf4
commit 8af42ec11d
1 changed files with 1 additions and 1 deletions

View File

@ -2,6 +2,7 @@
#ifdef HAVE_WAYLAND
# include "e_comp_wl.h"
# include <uuid.h>
# ifndef EGL_TEXTURE_FORMAT
# define EGL_TEXTURE_FORMAT 0x3080
# endif
@ -18,7 +19,6 @@
#endif
#include <sys/mman.h>
#include <uuid.h>
static Eina_Hash *pixmaps[2] = {NULL};
static Eina_Hash *aliases[2] = {NULL};