diff options
author | Justin Lecher <[email protected]> | 2017-05-17 01:00:16 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-05-16 17:00:16 -0700 |
commit | 331ec1a1ad8c920fd3ddd98964a155c84db852b8 (patch) | |
tree | c924f64a7135eef2c406a9cbae9aa7ff10e05e23 /lib/libspl | |
parent | 5559ba094feff560abe00afd31ab99dd1f70698c (diff) |
Compatibilty with glibc-2.23
In glibc-2.23 <sys/sysmacros.h> isn't automatically included in
<sys/types.h> [1], so we need ot explicitely include it.
https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Justin Lecher <[email protected]>
Closes #6132
Diffstat (limited to 'lib/libspl')
-rw-r--r-- | lib/libspl/getmntany.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libspl/getmntany.c b/lib/libspl/getmntany.c index 9e071c7ce..43e523e4a 100644 --- a/lib/libspl/getmntany.c +++ b/lib/libspl/getmntany.c @@ -34,6 +34,7 @@ #include <sys/mnttab.h> #include <sys/types.h> +#include <sys/sysmacros.h> #include <sys/stat.h> #include <unistd.h> |