diff options
Diffstat (limited to 'extension/gawkfts.c')
-rw-r--r-- | extension/gawkfts.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extension/gawkfts.c b/extension/gawkfts.c index 2b47275b..1ef98790 100644 --- a/extension/gawkfts.c +++ b/extension/gawkfts.c @@ -57,6 +57,10 @@ static char sccsid[] = "@(#)fts.c 8.6 (Berkeley) 8/14/94"; #include <string.h> #include <unistd.h> +#if ! defined(S_ISREG) && defined(S_IFREG) +#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) +#endif + /* #if ! HAVE_NBTOOL_CONFIG_H #define HAVE_STRUCT_DIRENT_D_NAMLEN |