diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2015-06-12 02:56:58 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-06-12 03:00:32 +0200 |
commit | 46b20a55775c6c44591ff2d2d423399887ebc806 (patch) | |
tree | 6e2264bf4578861f4adacce599e43a63441a7a0c /tdesu | |
parent | 32eee8cad4fd7bf38b98e5c8db0455bed75e03bc (diff) | |
download | tdebase-46b20a55775c6c44591ff2d2d423399887ebc806.tar.gz tdebase-46b20a55775c6c44591ff2d2d423399887ebc806.zip |
Fix FTBFS on freebsd
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 08122b137e76ffcf7067f634a7668002732e11d9)
Diffstat (limited to 'tdesu')
-rw-r--r-- | tdesu/tdesud/tdesud.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdesu/tdesud/tdesud.cpp b/tdesu/tdesud/tdesud.cpp index 3d64bc840..5fa2f5857 100644 --- a/tdesu/tdesud/tdesud.cpp +++ b/tdesu/tdesud/tdesud.cpp @@ -45,7 +45,7 @@ #include <pwd.h> #include <errno.h> -#ifndef __OpenBSD__ +#if !defined(__OpenBSD__) && !defined(__FreeBSD__) #include <sys/prctl.h> #endif #include <sys/time.h> @@ -251,7 +251,7 @@ int create_socket() int main(int argc, char *argv[]) { -#ifndef __OpenBSD__ +#if !defined(__OpenBSD__) && !defined(__FreeBSD__) prctl(PR_SET_DUMPABLE, 0); #endif |