diff options
author | Cedric Bail <cedric.bail@samsung.com> | 2013-06-25 18:11:43 +0900 |
---|---|---|
committer | Cedric Bail <cedric.bail@samsung.com> | 2013-06-26 11:24:29 +0900 |
commit | e920c2cc7619b496a4b07c35ec784d2dacd0dad2 (patch) | |
tree | 3e33a642625a891d116656c63124d8727031e5c8 /src | |
parent | e888a07c0aed80a2db4841fa79a2a7749d373fbb (diff) | |
download | efl-e920c2cc7619b496a4b07c35ec784d2dacd0dad2.tar.gz |
efreet: make geteuid an optional function.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/efreet/efreet_base.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/efreet/efreet_base.c b/src/lib/efreet/efreet_base.c index 93e264cf70..7169cc6f1d 100644 --- a/src/lib/efreet/efreet_base.c +++ b/src/lib/efreet/efreet_base.c @@ -335,6 +335,7 @@ efreet_dirs_init(void) } else if ((st.st_mode & 0777) != 0700) { +#ifdef HAVE_GETEUID if (st.st_uid == geteuid()) { ERR("XDG_RUNTIME_DIR=%s is mode %o, changing to 0700", @@ -346,6 +347,7 @@ efreet_dirs_init(void) eina_stringshare_replace(&xdg_runtime_dir, NULL); } } +#endif } /* hostname */ if (gethostname(buf, sizeof(buf)) < 0) |