summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/Ecore_Drm.h
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-28 14:24:48 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-05-07 09:53:10 +0200
commitce5ccfb5bee5174b168f0df49b75df2ab3849454 (patch)
tree9b306bbd87d30a70f20056aa44f9e90a3b593d43 /src/lib/ecore_drm/Ecore_Drm.h
parent71b7fc982a2e23bcb41bf6d227bceeba1f5596ec (diff)
ecore: remove the need to order the header correctly for Windows.
Diffstat (limited to 'src/lib/ecore_drm/Ecore_Drm.h')
-rw-r--r--src/lib/ecore_drm/Ecore_Drm.h21
1 files changed, 16 insertions, 5 deletions
diff --git a/src/lib/ecore_drm/Ecore_Drm.h b/src/lib/ecore_drm/Ecore_Drm.h
index 302af389cf..feb48f8414 100644
--- a/src/lib/ecore_drm/Ecore_Drm.h
+++ b/src/lib/ecore_drm/Ecore_Drm.h
@@ -1,6 +1,12 @@
1#ifndef _ECORE_DRM_H 1#ifndef _ECORE_DRM_H
2# define _ECORE_DRM_H 2# define _ECORE_DRM_H
3 3
4# include <xf86drm.h>
5# include <xf86drmMode.h>
6# include <drm_fourcc.h>
7# include <Ecore.h>
8# include <Eeze.h>
9
4# ifdef EAPI 10# ifdef EAPI
5# undef EAPI 11# undef EAPI
6# endif 12# endif
@@ -23,11 +29,9 @@
23# endif // ifdef __GNUC__ 29# endif // ifdef __GNUC__
24# endif // ifdef _MSC_VER 30# endif // ifdef _MSC_VER
25 31
26# include <xf86drm.h> 32#ifdef __cplusplus
27# include <xf86drmMode.h> 33extern "C" {
28# include <drm_fourcc.h> 34#endif
29# include <Ecore.h>
30# include <Eeze.h>
31 35
32typedef enum _Ecore_Drm_Evdev_Capabilities 36typedef enum _Ecore_Drm_Evdev_Capabilities
33{ 37{
@@ -757,4 +761,11 @@ EAPI void ecore_drm_device_pointer_xy_get(Ecore_Drm_Device *dev, int *x, int *y)
757 */ 761 */
758EAPI const Eina_List *ecore_drm_devices_get(void); 762EAPI const Eina_List *ecore_drm_devices_get(void);
759 763
764#ifdef __cplusplus
765}
766#endif
767
768#undef EAPI
769#define EAPI
770
760#endif 771#endif