Included <paths.h> where useful in fuse-lite
Both fusermount.c and mount_util.c use _PATH_MOUNTED, so they should include <paths.h>, which provides this definition. This is required for building with the musl C library. Contributed by Thomas Petazzonipull/2/head
parent
28c479af6a
commit
30ae872b89
|
@ -19,6 +19,7 @@
|
|||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <pwd.h>
|
||||
#include <paths.h>
|
||||
|
||||
#ifdef __SOLARIS__
|
||||
#include <sys/mnttab.h>
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
#include <paths.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#ifdef __SOLARIS__
|
||||
|
|
Loading…
Reference in New Issue