diff options
-rw-r--r-- | lib/dirfd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dirfd.h b/lib/dirfd.h index 01fa28ef5..422f97663 100644 --- a/lib/dirfd.h +++ b/lib/dirfd.h @@ -22,6 +22,6 @@ #ifndef HAVE_DECL_DIRFD "this configure-time declaration test was not run" #endif -#if !HAVE_DECL_DIRFD +#if !HAVE_DECL_DIRFD && !defined dirfd int dirfd (DIR const *); #endif |