e_signals.c: Inclues Ecore_DRM only if WL_DRM is built and not only if WAYLAND is built

This commit is contained in:
Florent Revest 2015-07-27 17:21:04 +02:00 committed by Nicolas Aguirre
parent eb80363aff
commit ac97b19b28
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
*/
#include "e.h"
#ifdef HAVE_WAYLAND
#ifdef HAVE_WL_DRM
#include <Ecore_Drm.h>
#endif
@ -66,7 +66,7 @@ _e_write_safe_int(int fd, const char *buf, size_t size)
static void
_e_crash(void)
{
#ifdef HAVE_WAYLAND
#ifdef HAVE_WL_DRM
if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
{
const Eina_List *list, *l, *ll;