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 <behlendorf1@llnl.gov>
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Closes #6132
This commit is contained in:
Justin Lecher 2017-05-17 01:00:16 +01:00 committed by Brian Behlendorf
parent 5559ba094f
commit 331ec1a1ad
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@
#include <sys/mnttab.h> #include <sys/mnttab.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/sysmacros.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>