X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fdirfd.h;h=422f9766366bf239450642677ebbd2ecca8957d6;hb=0451b1d84d734d0cbdd64a506ded848a842a5dc6;hp=01fa28ef5eb245241d8b32d45b2591bce4320e81;hpb=25788a5e0dcc4c2aea947c621d5f3a93b28ca330;p=gnulib.git 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