git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03dd06d
)
work around conflict in pidfile() prototype for heimdal on NetBSD5
author
Andrew Tridgell
<tridge@samba.org>
Tue, 9 Jun 2009 04:11:20 +0000
(14:11 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 9 Jun 2009 04:11:20 +0000
(14:11 +1000)
source4/heimdal_build/roken.h
patch
|
blob
|
history
diff --git
a/source4/heimdal_build/roken.h
b/source4/heimdal_build/roken.h
index e3edd53872b4458f028f47f309d5b21bf6550767..4eabbe2af4e4e314c47c6dec9cdef4054cbeb2dc 100644
(file)
--- 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__