summaryrefslogtreecommitdiff
path: root/src/systemd-bootchart
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd-bootchart')
-rw-r--r--src/systemd-bootchart/Makefile4
-rw-r--r--src/systemd-bootchart/bootchart.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/systemd-bootchart/Makefile b/src/systemd-bootchart/Makefile
index 217b00d7e3..91a06ed1a2 100644
--- a/src/systemd-bootchart/Makefile
+++ b/src/systemd-bootchart/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
+
ifneq ($(ENABLE_BOOTCHART),)
systemd_bootchart_SOURCES = \
src/bootchart/bootchart.c \
@@ -45,3 +48,4 @@ endif
EXTRA_DIST += \
units/systemd-bootchart.service.in
+include $(topsrcdir)/build-aux/Makefile.tail.mk
diff --git a/src/systemd-bootchart/bootchart.c b/src/systemd-bootchart/bootchart.c
index 77d158f5f9..8755b2d884 100644
--- a/src/systemd-bootchart/bootchart.c
+++ b/src/systemd-bootchart/bootchart.c
@@ -44,7 +44,7 @@
#include <time.h>
#include <unistd.h>
-#include "sd-journal.h"
+#include <systemd/sd-journal.h>
#include "alloc-util.h"
#include "bootchart.h"