summaryrefslogtreecommitdiff
path: root/src/systemd-activate
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd-activate')
-rw-r--r--src/systemd-activate/Makefile4
-rw-r--r--src/systemd-activate/activate.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/systemd-activate/Makefile b/src/systemd-activate/Makefile
index 113d71fb8b..133622ffb0 100644
--- a/src/systemd-activate/Makefile
+++ b/src/systemd-activate/Makefile
@@ -20,6 +20,9 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
+include $(topsrcdir)/build-aux/Makefile.head.mk
+
rootlibexec_PROGRAMS += \
systemd-activate
@@ -30,3 +33,4 @@ systemd_activate_SOURCES = \
systemd_activate_LDADD = \
libshared.la
+include $(topsrcdir)/build-aux/Makefile.tail.mk
diff --git a/src/systemd-activate/activate.c b/src/systemd-activate/activate.c
index 0db4967edb..94f99028e5 100644
--- a/src/systemd-activate/activate.c
+++ b/src/systemd-activate/activate.c
@@ -24,7 +24,7 @@
#include <sys/wait.h>
#include <unistd.h>
-#include "sd-daemon.h"
+#include <systemd/sd-daemon.h>
#include "alloc-util.h"
#include "fd-util.h"