mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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.
This commit is contained in:
parent
81970d22d8
commit
92d5a84410
@ -17,6 +17,7 @@
|
||||
|
||||
#ifdef __linux__
|
||||
|
||||
#include <sys/sysmacros.h>
|
||||
#include <dirent.h>
|
||||
|
||||
static int _locate_sysfs_blocks(const char *sysfs_dir, char *path, size_t len,
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
#include "math.h" /* log10() */
|
||||
|
||||
#include <sys/sysmacros.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/vfs.h> /* fstatfs */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user