include: include e_types.h file at all public header files
[platform/upstream/enlightenment.git] / src / include / e_pixmap.h
index b1fb6da..e067e31 100644 (file)
@@ -1,6 +1,11 @@
-#ifdef E_TYPEDEFS
+# ifndef E_PIXMAP_H
+# define E_PIXMAP_H
+
+#include <e_types.h>
+#include <e_client.h>
 
 typedef struct _E_Pixmap E_Pixmap;
+typedef struct _E_Pixmap_Hook E_Pixmap_Hook;
 
 typedef enum
 {
@@ -10,12 +15,6 @@ typedef enum
    E_PIXMAP_TYPE_MAX
 } E_Pixmap_Type;
 
-#else
-# ifndef E_PIXMAP_H
-# define E_PIXMAP_H
-
-typedef struct _E_Pixmap_Hook E_Pixmap_Hook;
-
 typedef enum _E_Pixmap_Hook_Point
 {
    E_PIXMAP_HOOK_NEW,
@@ -51,4 +50,3 @@ E_API void e_pixmap_hook_del(E_Pixmap_Hook *ph);
 E_API void e_pixmap_buffer_clear(E_Pixmap *cp, Eina_Bool only_free);
 
 #endif
-#endif