aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extension/ChangeLog1
-rw-r--r--extension/gawkdirfd.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/extension/ChangeLog b/extension/ChangeLog
index c9317d94..231961f1 100644
--- a/extension/ChangeLog
+++ b/extension/ChangeLog
@@ -8,6 +8,7 @@
(.developing): Fix check.
* alocal.m4: Updated.
* configure: Regenerated.
+ * gawkdirfd.h: Fixed for Mac OS X also.
2013-01-25 Arnold D. Robbins <arnold@skeeve.com>
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)
{