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:
parent
2f7e22ccf4
commit
8af42ec11d
|
@ -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};
|
||||
|
|
Loading…
Reference in New Issue