1
0
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:
Zdenek Kabelac 2016-08-18 14:41:46 +02:00
parent 81970d22d8
commit 92d5a84410
2 changed files with 2 additions and 0 deletions

View File

@ -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,

View File

@ -19,6 +19,7 @@
#include "math.h" /* log10() */
#include <sys/sysmacros.h>
#include <sys/ioctl.h>
#include <sys/vfs.h> /* fstatfs */