1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

work around conflict in pidfile() prototype for heimdal on NetBSD5

This commit is contained in:
Andrew Tridgell 2009-06-09 14:11:20 +10:00
parent 03dd06de9a
commit b258c5fa67

View File

@ -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__