Build failed otherwise on RHEL 5. --- dm.c | 3 ++- tests/ioctl_dm.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/dm.c b/dm.c index b6fb11d..a11196f 100644 --- a/dm.c +++ b/dm.c @@ -2,8 +2,9 @@ #ifdef HAVE_LINUX_DM_IOCTL_H -# include <sys/ioctl.h> +# include <inttypes.h> # include <linux/dm-ioctl.h> +# include <sys/ioctl.h> # if DM_VERSION_MAJOR == 4 diff --git a/tests/ioctl_dm.c b/tests/ioctl_dm.c index 31f474c..94dbe93 100644 --- a/tests/ioctl_dm.c +++ b/tests/ioctl_dm.c @@ -1,4 +1,5 @@ #include "tests.h" +#include <inttypes.h> #include <stdio.h> #include <stddef.h> #include <string.h> -- 1.7.10.4 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel