summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/schroot-listmounts/schroot-listmounts-main.cc2
-rw-r--r--bin/schroot-mount/schroot-mount-main.cc2
-rw-r--r--bin/schroot-releaselock/Makefile.am2
3 files changed, 2 insertions, 4 deletions
diff --git a/bin/schroot-listmounts/schroot-listmounts-main.cc b/bin/schroot-listmounts/schroot-listmounts-main.cc
index 4d1d8785..53332e68 100644
--- a/bin/schroot-listmounts/schroot-listmounts-main.cc
+++ b/bin/schroot-listmounts/schroot-listmounts-main.cc
@@ -36,8 +36,6 @@
#include <boost/format.hpp>
-#include <lockdev.h>
-
using std::endl;
using boost::format;
using sbuild::_;
diff --git a/bin/schroot-mount/schroot-mount-main.cc b/bin/schroot-mount/schroot-mount-main.cc
index 3e7db9ab..09a54149 100644
--- a/bin/schroot-mount/schroot-mount-main.cc
+++ b/bin/schroot-mount/schroot-mount-main.cc
@@ -39,8 +39,6 @@
#include <mntent.h>
-#include <lockdev.h>
-
using std::endl;
using boost::format;
using sbuild::_;
diff --git a/bin/schroot-releaselock/Makefile.am b/bin/schroot-releaselock/Makefile.am
index 2c0cf65e..f65338b9 100644
--- a/bin/schroot-releaselock/Makefile.am
+++ b/bin/schroot-releaselock/Makefile.am
@@ -27,7 +27,9 @@ LOCAL_CXXFLAGS = $(SCHROOT_CFLAGS) -I$(top_srcdir)/bin
DEFS = -DLOCALEDIR=\"$(localedir)\" -D_GNU_SOURCE
+if BUILD_BLOCKDEV
pkglibexec_PROGRAMS = schroot-releaselock
+endif
schroot_releaselock_SOURCES = \
schroot-releaselock-main.h \