aboutsummaryrefslogtreecommitdiffstats
path: root/extension/filefuncs.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-09-17 20:33:53 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-09-17 20:33:53 +0300
commit5ce26d128178f27fea3ad2ce5cb9dc9c77834757 (patch)
treecb5cc5367d409eacfa69d44f5a3068516d8b34c8 /extension/filefuncs.c
parentc57cb29182ad64de571ec69d2a657c3b392553a9 (diff)
downloadegawk-5ce26d128178f27fea3ad2ce5cb9dc9c77834757.tar.gz
egawk-5ce26d128178f27fea3ad2ce5cb9dc9c77834757.tar.bz2
egawk-5ce26d128178f27fea3ad2ce5cb9dc9c77834757.zip
Minor fix to filefuncs.c for Fedora compilation.
Diffstat (limited to 'extension/filefuncs.c')
-rw-r--r--extension/filefuncs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/extension/filefuncs.c b/extension/filefuncs.c
index 9ca22de8..38542115 100644
--- a/extension/filefuncs.c
+++ b/extension/filefuncs.c
@@ -10,7 +10,7 @@
*/
/*
- * Copyright (C) 2001, 2004, 2005, 2010-2016
+ * Copyright (C) 2001, 2004, 2005, 2010-2017
* the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
@@ -73,7 +73,6 @@
#include <unistd.h>
#include <sys/types.h>
-#include <sys/stat.h>
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
@@ -85,6 +84,8 @@
#include <sys/sysmacros.h>
#endif
+#include <sys/stat.h>
+
#if defined(HAVE_SYS_STATVFS_H) && defined(HAVE_STATVFS)
#include <sys/statvfs.h>
#endif