summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2013-03-15 11:41:42 +0900
committerCedric BAIL <cedric.bail@samsung.com>2013-03-15 11:41:42 +0900
commitd40fdc2e5f59fb01d89ad3217de5215e71020406 (patch)
treed69ea27a82e81c5dbf86c1af014ac5ce2dbc3f43 /src/lib/ecore
parent241bed4cd6ab300933367a55cf0abcf8cf3b08db (diff)
ecore: improve systemd support after fork.
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/ecore.c4
-rw-r--r--src/lib/ecore/ecore_exe.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c
index 237b457b92..4756672881 100644
--- a/src/lib/ecore/ecore.c
+++ b/src/lib/ecore/ecore.c
@@ -391,6 +391,10 @@ ecore_fork_reset(void)
391 free(fcb); 391 free(fcb);
392 } 392 }
393 } 393 }
394
395#ifdef HAVE_SYSTEMD
396 unsetenv("NOTIFY_SOCKET");
397#endif
394} 398}
395 399
396/** 400/**
diff --git a/src/lib/ecore/ecore_exe.c b/src/lib/ecore/ecore_exe.c
index a01087fa54..c7a676987c 100644
--- a/src/lib/ecore/ecore_exe.c
+++ b/src/lib/ecore/ecore_exe.c
@@ -20,10 +20,6 @@
20# include <sys/wait.h> 20# include <sys/wait.h>
21#endif 21#endif
22 22
23#ifdef HAVE_SYSTEMD
24# include <systemd/sd-daemon.h>
25#endif
26
27#include "Ecore.h" 23#include "Ecore.h"
28#include "ecore_private.h" 24#include "ecore_private.h"
29 25