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:
@@ -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