From 7d4e25814c489c3e2acd92f5a58384f12adb6e2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 18 Oct 2014 13:55:49 +0200 Subject: [PATCH] Fix FTBFS on openbsd because of missing header in tdesu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot " --- tdesu/tdesud/tdesud.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tdesu/tdesud/tdesud.cpp b/tdesu/tdesud/tdesud.cpp index 5e4f5122a..3d64bc840 100644 --- a/tdesu/tdesud/tdesud.cpp +++ b/tdesu/tdesud/tdesud.cpp @@ -45,7 +45,9 @@ #include #include +#ifndef __OpenBSD__ #include +#endif #include #include #include @@ -249,7 +251,9 @@ int create_socket() int main(int argc, char *argv[]) { +#ifndef __OpenBSD__ prctl(PR_SET_DUMPABLE, 0); +#endif TDEAboutData aboutData("tdesud", I18N_NOOP("TDE su daemon"), Version, I18N_NOOP("Daemon used by tdesu"),