summaryrefslogtreecommitdiff
path: root/src/systemd-cryptsetup
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd-cryptsetup')
-rw-r--r--src/systemd-cryptsetup/Makefile4
-rw-r--r--src/systemd-cryptsetup/cryptsetup.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/systemd-cryptsetup/Makefile b/src/systemd-cryptsetup/Makefile
index 23e43a6999..c97df5f959 100644
--- a/src/systemd-cryptsetup/Makefile
+++ b/src/systemd-cryptsetup/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 ($(HAVE_LIBCRYPTSETUP),)
rootlibexec_PROGRAMS += \
systemd-cryptsetup
@@ -53,3 +56,4 @@ SYSINIT_TARGET_WANTS += \
endif
+include $(topsrcdir)/build-aux/Makefile.tail.mk
diff --git a/src/systemd-cryptsetup/cryptsetup.c b/src/systemd-cryptsetup/cryptsetup.c
index 2ef966257a..9d8156697d 100644
--- a/src/systemd-cryptsetup/cryptsetup.c
+++ b/src/systemd-cryptsetup/cryptsetup.c
@@ -23,7 +23,7 @@
#include <string.h>
#include <sys/mman.h>
-#include "sd-device.h"
+#include <systemd/sd-device.h>
#include "alloc-util.h"
#include "ask-password-api.h"