Add sys/sysmacros.h to mountpoint.c to fix compiling on
systems where major/minor macros are not defined implicitly.
This commit is contained in:
1 parent
e3d0f4bfc1
commit
746b0fc6a9
2 files changed
+6
No files matched your search
@@ -32,6 +32,10 @@
|
||||
#include <getopt.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined (__linux__) || defined(__GNU__)
|
||||
#include <sys/sysmacros.h>
|
||||
#endif
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX 2048
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user