diff options
Diffstat (limited to 'source4/heimdal_build/config.h')
-rw-r--r-- | source4/heimdal_build/config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/heimdal_build/config.h b/source4/heimdal_build/config.h index e15c6effa8..6a82637b2d 100644 --- a/source4/heimdal_build/config.h +++ b/source4/heimdal_build/config.h @@ -9,6 +9,10 @@ #include "include/config.h" #include "../replace/replace.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 |