Skip to content

Commit

Permalink
Compatibilty with glibc-2.23
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jlec authored and tonyhutter committed Jul 6, 2017
1 parent cd2209b commit 709f25e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/libspl/getmntany.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include <sys/mnttab.h>

#include <sys/types.h>
#include <sys/sysmacros.h>
#include <sys/stat.h>
#include <unistd.h>

Expand Down

0 comments on commit 709f25e

Please sign in to comment.