summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-30 18:41:34 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-30 18:42:09 +0100
commit9fa2e564886525dd82b3283da2c467bc8d576225 (patch)
treeb51ebf2471ea0cb6c0cac86cdc69aa374c8ff1aa
parentc28952c55505ce09e3cc082ad59692d4977ed26e (diff)
downloadsamba-9fa2e564886525dd82b3283da2c467bc8d576225.tar.gz
samba-9fa2e564886525dd82b3283da2c467bc8d576225.tar.bz2
samba-9fa2e564886525dd82b3283da2c467bc8d576225.zip
s4:heimdal_build: add a dummy define for dirfd()
metze
-rw-r--r--source4/heimdal_build/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/heimdal_build/config.h b/source4/heimdal_build/config.h
index 5f21da2d91..114e53643c 100644
--- a/source4/heimdal_build/config.h
+++ b/source4/heimdal_build/config.h
@@ -10,6 +10,10 @@
#include "../replace/replace.h"
#include "system/network.h"
+#if !defined(HAVE_DIRFD) && !defined(HAVE_DIRFD_DECL) && !defined(dirfd)
+#define dirfd(d) (-1)
+#endif
+
#define RCSID(msg) struct __rcsid { int __rcsdi; }
#define KRB5