Ecore: fix warnings
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 6 Dec 2011 22:33:01 +0000 (22:33 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 6 Dec 2011 22:33:01 +0000 (22:33 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@65976 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore/ecore_alloc.c
src/lib/ecore/ecore_glib.c
src/lib/ecore_evas/ecore_evas_fb.c
src/lib/ecore_evas/ecore_evas_x.c
src/lib/ecore_fb/ecore_fb_li.c
src/lib/ecore_file/ecore_file_monitor_inotify.c
src/lib/ecore_x/xlib/ecore_x_image.c
src/lib/ecore_x/xlib/ecore_x_netwm.c
src/lib/ecore_x/xlib/ecore_x_randr_12.c

index a83f80d..ded62c2 100644 (file)
@@ -2,7 +2,10 @@
 # include "config.h"
 #endif
 
+#include <stdlib.h>
+
 #include <Eina.h>
+
 #include "Ecore.h"
 #include "ecore_private.h"
 
index 6ddcd36..59673b9 100644 (file)
@@ -2,6 +2,7 @@
 # include <config.h>
 #endif
 
+#include <stdlib.h>
 #include <stdio.h>
 
 #include "Ecore.h"
index 3ee913e..e85d9d8 100644 (file)
@@ -2,6 +2,7 @@
 # include <config.h>
 #endif
 
+#include <stdlib.h>
 #include <sys/types.h>
 #include <dirent.h>
 
index d9ccd6e..64a46fb 100644 (file)
@@ -1,3 +1,4 @@
+#include <stdlib.h>
 #include <string.h>
 #include "ecore_evas_private.h"
 #include "Ecore_Evas.h"
index 4a196dd..dcba8a7 100644 (file)
@@ -2,6 +2,8 @@
 # include <config.h>
 #endif
 
+#include <stdlib.h>
+
 #include "Ecore_Fb.h"
 #include "ecore_fb_private.h"
 
index c3533ad..efdd8c2 100644 (file)
@@ -2,6 +2,7 @@
 # include <config.h>
 #endif
 
+#include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
 #include <sys/types.h>
index 545048d..b8e720c 100644 (file)
@@ -1,15 +1,17 @@
 #ifdef HAVE_CONFIG_H
 # include <config.h>
-#endif /* ifdef HAVE_CONFIG_H */
+#endif
+
+#include <stdlib.h>
+#include <string.h>
+#include <sys/ipc.h>
+#include <sys/shm.h>
 
 #include "ecore_x_private.h"
 #include "Ecore_X.h"
 
 #include <X11/extensions/XShm.h>
 #include <X11/Xutil.h>
-#include <sys/ipc.h>
-#include <sys/shm.h>
-#include <string.h>
 
 static int _ecore_x_image_shm_can = -1;
 static int _ecore_x_image_err = 0;
index bef285c..9fc428a 100644 (file)
@@ -4,8 +4,9 @@
 
 #ifdef HAVE_CONFIG_H
 # include <config.h>
-#endif /* ifdef HAVE_CONFIG_H */
+#endif
 
+#include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
 
index 8af3754..2080f1e 100644 (file)
@@ -6,6 +6,8 @@
 # include <config.h>
 #endif
 
+#include <stdlib.h>
+
 #include "ecore_x_private.h"
 #include "ecore_x_randr.h"