diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2013-01-27 22:09:34 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2013-01-27 22:09:34 +0200 |
commit | 2234c5ee7487a0630b3995510bb50a93a02aae3d (patch) | |
tree | 03dd38be51a4f870555253ceddd68aa32055c427 | |
parent | 28e8a885bf3f5c69c0cb98cdd92a73216f0135a4 (diff) | |
download | egawk-2234c5ee7487a0630b3995510bb50a93a02aae3d.tar.gz egawk-2234c5ee7487a0630b3995510bb50a93a02aae3d.tar.bz2 egawk-2234c5ee7487a0630b3995510bb50a93a02aae3d.zip |
Fix gawkdirfd.h for Mac OS X.
-rw-r--r-- | extension/ChangeLog | 1 | ||||
-rw-r--r-- | extension/gawkdirfd.h | 2 |
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) { |