diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-03-14 17:44:49 -0400 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-06-16 10:12:57 +0200 |
commit | 4a1368fc8c31e78025ccb7b2fa42c3426d3f428d (patch) | |
tree | 745465ecd9d7875cb2356be9f64df6cc798b0055 /src/basic/macro.h | |
parent | f4c228f18281f3a7b305940329ca9b7a51fc430d (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/macro.h b/src/basic/macro.h index c34441d75..b36a95675 100644 --- a/src/basic/macro.h +++ b/src/basic/macro.h @@ -23,6 +23,7 @@ #include <inttypes.h> #include <stdbool.h> #include <sys/param.h> +#include <sys/sysmacros.h> #include <sys/types.h> #define _printf_(a,b) __attribute__ ((format (printf, a, b))) |