fix compile when ehal is not present

note that illume1 still requires ehal and I have no plans to write an eeze backend for it


SVN revision: 55944
This commit is contained in:
Mike Blumenkrantz 2011-01-06 18:41:58 +00:00
parent f13cdcbd02
commit 67b1000afa
5 changed files with 15 additions and 4 deletions

View File

@ -93,10 +93,6 @@ void *alloca (size_t);
#include <Efreet.h>
#include <Efreet_Mime.h>
#include <E_DBus.h>
#include <E_Hal.h>
#ifdef HAVE_EEZE
#include <Eeze.h>
#endif
#ifdef EAPI
#undef EAPI

View File

@ -1,6 +1,12 @@
#ifndef E_MOD_MAIN_H
#define E_MOD_MAIN_H
#ifdef HAVE_EEZE
# include <Eeze.h>
#else
# include <E_Hal.h>
#endif
typedef struct _Config Config;
#define CHECK_NONE 0

View File

@ -2,6 +2,7 @@
#include "e_kbd.h"
#include "e_mod_layout.h"
#include "e_cfg.h"
#include <E_Hal.h>
static void _e_kbd_layout_send(E_Kbd *kbd);

View File

@ -8,8 +8,10 @@ static void _e_mod_kbd_device_kbd_add(const char *udi);
static void _e_mod_kbd_device_kbd_del(const char *udi);
static void _e_mod_kbd_device_kbd_eval(void);
#ifdef HAVE_EEZE
# include <Eeze.h>
static void _e_mod_kbd_device_udev_event(const char *device, Eeze_Udev_Event event, void *data __UNUSED__, Eeze_Udev_Watch *watch __UNUSED__);
#else
# include <E_Hal.h>
static void _e_mod_kbd_device_cb_input_kbd(void *data __UNUSED__, void *reply, DBusError *err);
static void _e_mod_kbd_device_cb_input_kbd_is(void *data, void *reply, DBusError *err);
static void _e_mod_kbd_device_dbus_add(void *data __UNUSED__, DBusMessage *msg);

View File

@ -1,6 +1,12 @@
#ifndef E_MOD_MAIN_H
#define E_MOD_MAIN_H
#ifdef HAVE_EEZE
# include <Eeze.h>
#else
# include <E_Hal.h>
#endif
#include "e_mod_main_private.h"
typedef struct _Config Config;