summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2016-08-05 21:34:27 +0200
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-08-08 11:36:54 -0400
commit8af42ec11db8010bb276117bcc43238cdbaa07f6 (patch)
treedd0cd03fccf14b03fba94d1ef9d600534d691e76
parent2f7e22ccf4f525d9be65921bb584771c033a253a (diff)
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
-rw-r--r--src/bin/e_pixmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c
index febb689ec..72b26e88d 100644
--- a/src/bin/e_pixmap.c
+++ b/src/bin/e_pixmap.c
@@ -2,6 +2,7 @@
2 2
3#ifdef HAVE_WAYLAND 3#ifdef HAVE_WAYLAND
4# include "e_comp_wl.h" 4# include "e_comp_wl.h"
5# include <uuid.h>
5# ifndef EGL_TEXTURE_FORMAT 6# ifndef EGL_TEXTURE_FORMAT
6# define EGL_TEXTURE_FORMAT 0x3080 7# define EGL_TEXTURE_FORMAT 0x3080
7# endif 8# endif
@@ -18,7 +19,6 @@
18#endif 19#endif
19 20
20#include <sys/mman.h> 21#include <sys/mman.h>
21#include <uuid.h>
22 22
23static Eina_Hash *pixmaps[2] = {NULL}; 23static Eina_Hash *pixmaps[2] = {NULL};
24static Eina_Hash *aliases[2] = {NULL}; 24static Eina_Hash *aliases[2] = {NULL};