Fix FTBFS on openbsd because of missing header in tdesu

Signed-off-by: François Andriot <francois.andriot@free.fr>"
pull/2/head
François Andriot 10 years ago committed by Slávek Banko
parent 0f2ad67259
commit 7d4e25814c

@ -45,7 +45,9 @@
#include <pwd.h> #include <pwd.h>
#include <errno.h> #include <errno.h>
#ifndef __OpenBSD__
#include <sys/prctl.h> #include <sys/prctl.h>
#endif
#include <sys/time.h> #include <sys/time.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
@ -249,7 +251,9 @@ int create_socket()
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
#ifndef __OpenBSD__
prctl(PR_SET_DUMPABLE, 0); prctl(PR_SET_DUMPABLE, 0);
#endif
TDEAboutData aboutData("tdesud", I18N_NOOP("TDE su daemon"), TDEAboutData aboutData("tdesud", I18N_NOOP("TDE su daemon"),
Version, I18N_NOOP("Daemon used by tdesu"), Version, I18N_NOOP("Daemon used by tdesu"),

Loading…
Cancel
Save