aboutsummaryrefslogtreecommitdiffstats
path: root/extension/gawkdirfd.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-01-27 22:09:34 +0200
committerArnold D. Robbins <arnold@skeeve.com>2013-01-27 22:09:34 +0200
commit2234c5ee7487a0630b3995510bb50a93a02aae3d (patch)
tree03dd38be51a4f870555253ceddd68aa32055c427 /extension/gawkdirfd.h
parent28e8a885bf3f5c69c0cb98cdd92a73216f0135a4 (diff)
downloadegawk-2234c5ee7487a0630b3995510bb50a93a02aae3d.tar.gz
egawk-2234c5ee7487a0630b3995510bb50a93a02aae3d.tar.bz2
egawk-2234c5ee7487a0630b3995510bb50a93a02aae3d.zip
Fix gawkdirfd.h for Mac OS X.
Diffstat (limited to 'extension/gawkdirfd.h')
-rw-r--r--extension/gawkdirfd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/gawkdirfd.h b/extension/gawkdirfd.h
index 3d44320d..249a0641 100644
--- a/extension/gawkdirfd.h
+++ b/extension/gawkdirfd.h
@@ -21,7 +21,7 @@
#include <config.h>
-#ifndef HAVE_DIRFD
+#if !defined(HAVE_DIRFD) && !defined(HAVE_DECL_DIRFD)
int
dirfd (DIR *dir_p)
{