summaryrefslogtreecommitdiffstats
path: root/m4.include/gnulib/stat-size.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4.include/gnulib/stat-size.m4')
-rw-r--r--m4.include/gnulib/stat-size.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/m4.include/gnulib/stat-size.m4 b/m4.include/gnulib/stat-size.m4
new file mode 100644
index 0000000..95f4828
--- /dev/null
+++ b/m4.include/gnulib/stat-size.m4
@@ -0,0 +1,14 @@
+#serial 1
+
+# Copyright (C) 2011-2020 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_STAT_SIZE],
+[
+ # Don't call AC_STRUCT_ST_BLOCKS because it causes bugs. Details at
+ # https://lists.gnu.org/r/bug-gnulib/2011-06/msg00051.html
+ AC_CHECK_HEADERS_ONCE([sys/param.h])
+])