aboutsummaryrefslogtreecommitdiffstats
path: root/posix/gawkmisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/gawkmisc.c')
-rw-r--r--posix/gawkmisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/gawkmisc.c b/posix/gawkmisc.c
index 90bf1c38..90a41e4e 100644
--- a/posix/gawkmisc.c
+++ b/posix/gawkmisc.c
@@ -127,7 +127,7 @@ optimal_bufsize(int fd, struct stat *stb)
* guess. We use stdio's BUFSIZ, since that is what it was
* meant for in the first place.
*/
-#ifdef HAVE_ST_BLKSIZE
+#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
#define DEFBLKSIZE (stb->st_blksize > 0 ? stb->st_blksize : BUFSIZ)
#else
#define DEFBLKSIZE BUFSIZ