diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-06-09 14:11:20 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-06-09 14:11:20 +1000 |
commit | b258c5fa67a8597e6d3fb0c55797f0a451e331b0 (patch) | |
tree | 5de711c5956e51d05b9bbb7cda57f4e788341f3f | |
parent | 03dd06de9ae7b3692fd2ab141c0522abacbaec31 (diff) | |
download | samba-b258c5fa67a8597e6d3fb0c55797f0a451e331b0.tar.gz samba-b258c5fa67a8597e6d3fb0c55797f0a451e331b0.tar.bz2 samba-b258c5fa67a8597e6d3fb0c55797f0a451e331b0.zip |
work around conflict in pidfile() prototype for heimdal on NetBSD5
-rw-r--r-- | source4/heimdal_build/roken.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/heimdal_build/roken.h b/source4/heimdal_build/roken.h index e3edd53872..4eabbe2af4 100644 --- a/source4/heimdal_build/roken.h +++ b/source4/heimdal_build/roken.h @@ -85,6 +85,13 @@ #define HAVE_INNETGR #endif +/* we lie about having pidfile() so that NetBSD5 can compile. Nothing + in the parts of heimdal we use actually uses pidfile(), and we + don't use it in Samba, so this works, although its ugly */ +#ifndef HAVE_PIDFILE +#define HAVE_PIDFILE +#endif + #if (__GNUC__ >= 3) && (__GNUC_MINOR__ >= 1 ) #ifndef HAVE___ATTRIBUTE__ #define HAVE___ATTRIBUTE__ |