From d40fdc2e5f59fb01d89ad3217de5215e71020406 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Fri, 15 Mar 2013 11:41:42 +0900 Subject: [PATCH] ecore: improve systemd support after fork. --- src/lib/ecore/ecore.c | 4 ++++ src/lib/ecore/ecore_exe.c | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c index 237b457..4756672 100644 --- a/src/lib/ecore/ecore.c +++ b/src/lib/ecore/ecore.c @@ -391,6 +391,10 @@ ecore_fork_reset(void) free(fcb); } } + +#ifdef HAVE_SYSTEMD + unsetenv("NOTIFY_SOCKET"); +#endif } /** diff --git a/src/lib/ecore/ecore_exe.c b/src/lib/ecore/ecore_exe.c index a01087f..c7a6769 100644 --- a/src/lib/ecore/ecore_exe.c +++ b/src/lib/ecore/ecore_exe.c @@ -20,10 +20,6 @@ # include #endif -#ifdef HAVE_SYSTEMD -# include -#endif - #include "Ecore.h" #include "ecore_private.h" -- 2.7.4