about summary refs log tree commit diff
path: root/db2
diff options
context:
space:
mode:
Diffstat (limited to 'db2')
-rw-r--r--db2/compat.h6
-rw-r--r--db2/config.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/db2/compat.h b/db2/compat.h
index 86909aeb13..51008afcf0 100644
--- a/db2/compat.h
+++ b/db2/compat.h
@@ -3,6 +3,12 @@
 #include <sys/types.h>
 #include <errno.h>
 
+#include <sys/stat.h>
+#ifdef _STATBUF_ST_BLKSIZE
+# define HAVE_ST_BLKSIZE
+#endif
+
+
 #ifndef EFTYPE
 # define EFTYPE EINVAL
 #endif
diff --git a/db2/config.h b/db2/config.h
index e5e105830e..6f09795e3c 100644
--- a/db2/config.h
+++ b/db2/config.h
@@ -2,16 +2,10 @@
 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
 
 /* ...but edited by hand to be used in GNU libc.  */
-#include <sys/stat.h>		/* To get _STATBUF_ST_BLKSIZE.  */
 
 /* Define to empty if the keyword does not work.  */
 /* #undef const */
 
-/* Define if your struct stat has st_blksize.  */
-#ifdef _STATBUF_ST_BLKSIZE
-# define HAVE_ST_BLKSIZE 1
-#endif
-
 /* Define to `int' if <sys/types.h> doesn't define.  */
 /* #undef mode_t */