1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

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.
This commit is contained in:
Zdenek Kabelac 2016-09-07 15:13:48 +02:00
parent 5838c41a35
commit 6064a5084e
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@
#include "logging.h" #include "logging.h"
#include "functions.h" #include "functions.h"
#include <sys/sysmacros.h>
#include <dirent.h> #include <dirent.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>

View File

@ -16,6 +16,7 @@
#include "dmeventd_lvm.h" #include "dmeventd_lvm.h"
#include "libdevmapper-event.h" #include "libdevmapper-event.h"
#include <sys/sysmacros.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <stdarg.h> #include <stdarg.h>
#include <pthread.h> #include <pthread.h>