summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormemeka <mihailescu2m@gmail.com>2016-05-14 19:58:19 +0930
committerChris Michael <cpmichael@osg.samsung.com>2016-05-14 06:44:39 -0400
commitb01af6e57c3cf129da71fb8093ba72ea640ade04 (patch)
treecb010401f735133cb0ae8c7953f5023da895aeee
parent6551aa4471088b5f05e49a2026e38aba211bd7a7 (diff)
downloadefl-b01af6e57c3cf129da71fb8093ba72ea640ade04.tar.gz
elementary: Fix build issue when x11 is disabled
When we compile efl using --with-x11=none, then _tempfile_new and _tmpinfo_free end up being undefined, however these functions are used by wayland too so they need to be defined regardless. @fix
-rw-r--r--src/lib/elementary/elm_cnp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_cnp.c b/src/lib/elementary/elm_cnp.c
index 361089187b..efd8e0f245 100644
--- a/src/lib/elementary/elm_cnp.c
+++ b/src/lib/elementary/elm_cnp.c
@@ -195,10 +195,10 @@ static Eina_Bool _local_elm_drop_target_del(Evas_Object *obj, Elm_Sel_Format fo
Elm_Drag_Pos poscb, void *posdata,
Elm_Drop_Cb dropcb, void *dropdata);
-#ifdef HAVE_ELEMENTARY_X
-static Ecore_X_Window _x11_elm_widget_xwin_get(const Evas_Object *obj);
static Tmp_Info *_tempfile_new (int size);
static int _tmpinfo_free (Tmp_Info *tmp);
+#ifdef HAVE_ELEMENTARY_X
+static Ecore_X_Window _x11_elm_widget_xwin_get(const Evas_Object *obj);
typedef struct _X11_Cnp_Selection X11_Cnp_Selection;