From 3ad1bf2dcc186f70fbed88c7d81b581118c6e029 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Wed, 10 Jul 2013 22:06:19 +0200 Subject: [PATCH] provide O_NOFOLLOW if there is non --- lib/roken/roken-common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/roken/roken-common.h b/lib/roken/roken-common.h index 516619747..bf3ccf425 100644 --- a/lib/roken/roken-common.h +++ b/lib/roken/roken-common.h @@ -122,6 +122,10 @@ #define O_ACCMODE 003 #endif +#ifndef O_NOFOLLOW +#define O_NOFOLLOW 0 +#endif + #ifndef _WIN32 #ifndef _PATH_DEV