diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2016-09-07 15:13:48 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2016-09-07 16:42:34 +0200 |
commit | 6064a5084e2a71db389b1bdf06c05765610295d9 (patch) | |
tree | 4786844f4a9282f1d0d6208b885d093b8557a65b | |
parent | 5838c41a356eec05218395e734b90d21487f271c (diff) | |
download | lvm2-6064a5084e2a71db389b1bdf06c05765610295d9.tar.gz |
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.
-rw-r--r-- | daemons/cmirrord/functions.c | 1 | ||||
-rw-r--r-- | daemons/dmeventd/plugins/snapshot/dmeventd_snapshot.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/daemons/cmirrord/functions.c b/daemons/cmirrord/functions.c index 757d8e84f..5e50b8a58 100644 --- a/daemons/cmirrord/functions.c +++ b/daemons/cmirrord/functions.c @@ -12,6 +12,7 @@ #include "logging.h" #include "functions.h" +#include <sys/sysmacros.h> #include <dirent.h> #include <errno.h> #include <fcntl.h> diff --git a/daemons/dmeventd/plugins/snapshot/dmeventd_snapshot.c b/daemons/dmeventd/plugins/snapshot/dmeventd_snapshot.c index 7b060eda9..a70d07cfe 100644 --- a/daemons/dmeventd/plugins/snapshot/dmeventd_snapshot.c +++ b/daemons/dmeventd/plugins/snapshot/dmeventd_snapshot.c @@ -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> |