psmisc: Fix build with unified headers
This commit is contained in:
parent
e3aab1e293
commit
b811abd78e
@ -1,7 +1,18 @@
|
||||
diff -u -r ../psmisc-22.21/src/fuser.c ./src/fuser.c
|
||||
--- ../psmisc-22.21/src/fuser.c 2014-01-31 14:07:32.000000000 +0100
|
||||
+++ ./src/fuser.c 2017-03-05 23:50:01.776063577 +0100
|
||||
@@ -2085,7 +2085,7 @@
|
||||
+++ ./src/fuser.c 2017-06-28 16:09:52.947842253 +0200
|
||||
@@ -55,6 +55,10 @@
|
||||
#define MAXSYMLINKS SYMLINK_MAX
|
||||
#endif
|
||||
|
||||
+#ifdef __ANDROID__
|
||||
+# include <sys/sysmacros.h> /* makedev() macro */
|
||||
+#endif
|
||||
+
|
||||
#include "fuser.h"
|
||||
#include "signals.h"
|
||||
#include "i18n.h"
|
||||
@@ -2085,7 +2089,7 @@
|
||||
return (char *)0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user