diff options
author | Slávek Banko <[email protected]> | 2015-06-12 02:56:58 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2015-06-12 02:56:58 +0200 |
commit | 08122b137e76ffcf7067f634a7668002732e11d9 (patch) | |
tree | 30507bd9b39b46525b8941f1986dff2fa30f03af /tdesu/tdesud | |
parent | e1d8ccc637042d5ab84b0d532590f4cf8ef8e567 (diff) | |
download | tdebase-08122b137e76ffcf7067f634a7668002732e11d9.tar.gz tdebase-08122b137e76ffcf7067f634a7668002732e11d9.zip |
Fix FTBFS on freebsd
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'tdesu/tdesud')
-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 |