From 5baadc3aec033a91b71ca06fc27d2aca11ad0be4 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Thu, 29 Jun 2017 00:02:35 +0200 Subject: [PATCH] psmisc: Fix build with unified headers --- packages/psmisc/src-fuser.c.patch | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/packages/psmisc/src-fuser.c.patch b/packages/psmisc/src-fuser.c.patch index 4eb325d50..f4a0f6f7f 100644 --- a/packages/psmisc/src-fuser.c.patch +++ b/packages/psmisc/src-fuser.c.patch @@ -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 /* makedev() macro */ ++#endif ++ + #include "fuser.h" + #include "signals.h" + #include "i18n.h" +@@ -2085,7 +2089,7 @@ return (char *)0; }