summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKarel Zak2016-03-08 14:29:45 +0100
committerKarel Zak2016-03-08 14:29:45 +0100
commit075d2c0754f3723a68ad61755709fa2f0af604b4 (patch)
tree3637013a63252b8fb9423caec12636e937286748 /lib
parentRevert "include sysmacros.h where used" (diff)
downloadkernel-qcow2-util-linux-075d2c0754f3723a68ad61755709fa2f0af604b4.tar.gz
kernel-qcow2-util-linux-075d2c0754f3723a68ad61755709fa2f0af604b4.tar.xz
kernel-qcow2-util-linux-075d2c0754f3723a68ad61755709fa2f0af604b4.zip
include: move sys/sysmacros.h to c.h
The file is no portable (#ifdef HAVE_SYS_SYSMACROS_H is necessary), but needed on many places. It seems better to keep it in c.h. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/loopdev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/loopdev.c b/lib/loopdev.c
index b2c8b987b..9ae61daa9 100644
--- a/lib/loopdev.c
+++ b/lib/loopdev.c
@@ -29,7 +29,6 @@
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/mman.h>
-#include <sys/sysmacros.h>
#include <inttypes.h>
#include <dirent.h>
#include <linux/posix_types.h>