From: Hans Dedecker Date: Fri, 12 Aug 2016 08:27:54 +0000 (+0200) Subject: procd: uClibc O_PATH backwards compatibility fixes X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ba0ef6bea720c6cb263c034787fdd1ebe75be2fa;p=oweals%2Fprocd.git procd: uClibc O_PATH backwards compatibility fixes Signed-off-by: Hans Dedecker --- diff --git a/inittab.c b/inittab.c index 6dde11a..ae2c431 100644 --- a/inittab.c +++ b/inittab.c @@ -31,6 +31,10 @@ #include "procd.h" #include "rcS.h" +#ifndef O_PATH +#define O_PATH 010000000 +#endif + #define TAG_ID 0 #define TAG_RUNLVL 1 #define TAG_ACTION 2 diff --git a/utils/utils.c b/utils/utils.c index 8f14aad..e239eda 100644 --- a/utils/utils.c +++ b/utils/utils.c @@ -26,6 +26,10 @@ #include "../log.h" +#ifndef O_PATH +#define O_PATH 010000000 +#endif + void __blobmsg_list_init(struct blobmsg_list *list, int offset, int len, blobmsg_list_cmp cmp) {