diff options
Diffstat (limited to 'db2')
-rw-r--r-- | db2/compat.h | 6 | ||||
-rw-r--r-- | db2/config.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/db2/compat.h b/db2/compat.h index 86909ae..51008af 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 e5e1058..6f09795 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 */ |