summaryrefslogtreecommitdiff
path: root/src/basic/macro.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-03-14 17:44:49 -0400
committerSven Eden <yamakuzure@gmx.net>2016-03-14 17:44:49 -0400
commitf3a9d206165c2784b98ce5733e6334fab48149d9 (patch)
tree72080ac7ef6650754ab4bcb573d4f2e12a9213a2 /src/basic/macro.h
parentac6d9bf4abcc4dc2177f8f01f69b69f6f096b88d (diff)
include sys/sysmacros.h in more places
Since glibc is moving away from implicitly including sys/sysmacros.h all the time via sys/types.h, include the header directly in more places. This seems to cover most makedev/major/minor usage.
Diffstat (limited to 'src/basic/macro.h')
-rw-r--r--src/basic/macro.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/macro.h b/src/basic/macro.h
index cbc3ca97b..7715c6e69 100644
--- a/src/basic/macro.h
+++ b/src/basic/macro.h
@@ -23,6 +23,7 @@
#include <assert.h>
#include <sys/param.h>
+#include <sys/sysmacros.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <inttypes.h>