summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2019-07-28 09:27:27 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-07-28 09:27:27 +0100
commita6ade14c5e65ab729b1013388ec1aea4be22afc7 (patch)
treeb290aa6c715f3a2a10dc8b067d8ab3781e840d21 /src/lib/eina
parent04848c98f217b3fa1fc2a49bce2649895e705611 (diff)
Evil: remove pwd code in Evil and fix compilation failures after the removal
Summary: remove pwd code in Evil Test Plan: compilation Reviewers: zmike, cedric, raster Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9420
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_vpath.c6
-rw-r--r--src/lib/eina/eina_vpath_xdg.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/eina/eina_vpath.c b/src/lib/eina/eina_vpath.c
index c06ee5a..78ae6a2 100644
--- a/src/lib/eina/eina_vpath.c
+++ b/src/lib/eina/eina_vpath.c
@@ -3,7 +3,11 @@
3#endif 3#endif
4 4
5#include <sys/types.h> 5#include <sys/types.h>
6#include <pwd.h> 6#ifdef _WIN32
7# include <evil_private.h> /* mkdir */
8#else
9# include <pwd.h>
10#endif
7 11
8#include <Eina.h> 12#include <Eina.h>
9 13
diff --git a/src/lib/eina/eina_vpath_xdg.c b/src/lib/eina/eina_vpath_xdg.c
index 0db6e78..43ca85e 100644
--- a/src/lib/eina/eina_vpath_xdg.c
+++ b/src/lib/eina/eina_vpath_xdg.c
@@ -3,7 +3,9 @@
3#endif 3#endif
4 4
5#include <sys/types.h> 5#include <sys/types.h>
6#include <pwd.h> 6#ifndef _WIN32
7# include <pwd.h>
8#endif
7 9
8#include <Eina.h> 10#include <Eina.h>
9 11