aboutsummaryrefslogtreecommitdiff
path: root/db2/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'db2/compat.h')
-rw-r--r--db2/compat.h6
1 files changed, 6 insertions, 0 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