efl: remove inclusion of dirent.h where it is not used
authorVincent Torri <vincent.torri@gmail.com>
Fri, 12 Jan 2018 19:06:08 +0000 (11:06 -0800)
committerWonki Kim <wonki_.kim@samsung.com>
Wed, 17 Jan 2018 09:19:30 +0000 (18:19 +0900)
Test Plan: compilation

Reviewers: cedric

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D5733

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/examples/ethumb_client/ethumb_dbus.c
src/lib/eina/eina_file_common.c
src/lib/ethumb/ethumb.c
src/lib/evil/pwd.h
src/modules/ecore_evas/engines/fb/ecore_evas_fb.c

index aa3b2f5..3fe0229 100644 (file)
@@ -28,7 +28,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <limits.h>
-#include <dirent.h>
 #include <Ethumb.h>
 #include <Ethumb_Client.h>
 #include <Eina.h>
index 1c53226..3de4252 100644 (file)
@@ -23,9 +23,6 @@
 #include <string.h>
 #include <stdint.h>
 #include <stdio.h>
-#ifdef HAVE_DIRENT_H
-# include <dirent.h>
-#endif
 #include <unistd.h>
 #include <fcntl.h>
 #include <errno.h>
index 13ee30c..f6ddf9e 100644 (file)
@@ -40,7 +40,6 @@
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <dirent.h>
 #include <ctype.h>
 #include <pwd.h>
 
index 2663490..fd422eb 100644 (file)
@@ -8,7 +8,7 @@
  * @defgroup Evil_Pwd_Group Pwd.h functions
  * @ingroup Evil
  *
- * This header provides functions ported from Unix in dirent.h.
+ * This header provides functions ported from Unix in pwd.h.
  *
  * @{
  */
index 611ce30..77cd989 100644 (file)
@@ -4,7 +4,6 @@
 
 #include <stdlib.h>
 #include <sys/types.h>
-#include <dirent.h>
 
 #include <Eina.h>
 #include <Ecore.h>