master - cleanup: clean gcc6 minor/major types warnings
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=6064a5084e2a71db389b1bdf06c05765610295d9 Commit: 6064a5084e2a71db389b1bdf06c05765610295d9 Parent: 5838c41a356eec05218395e734b90d21487f271c Author: Zdenek Kabelac <[email protected]> AuthorDate: Wed Sep 7 15:13:48 2016 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Wed Sep 7 16:42:34 2016 +0200
cleanup: clean gcc6 minor/major types warnings
Put sys/sysmacros.h in front of sys/types.h header file as requested by gcc6 part II.
--- daemons/cmirrord/functions.c | 1 + .../dmeventd/plugins/snapshot/dmeventd_snapshot.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)
daemons/cmirrord/functions.c +1 -0
@@ -12,6 +12,7 @@#include "logging.h" #include "functions.h" +#include <sys/sysmacros.h> #include <dirent.h> #include <errno.h> #include <fcntl.h>
daemons/dmeventd/plugins/snapshot/dmeventd_snapshot.c +1 -0
@@ -16,6 +16,7 @@#include "dmeventd_lvm.h" #include "libdevmapper-event.h" +#include <sys/sysmacros.h> #include <sys/wait.h> #include <stdarg.h> #include <pthread.h>