diff --git a/lib/roken/roken.h b/lib/roken/roken.h index 0e958f99d..80a170a62 100644 --- a/lib/roken/roken.h +++ b/lib/roken/roken.h @@ -342,6 +342,10 @@ extern const char *__progname; void set_progname(char *argv0); +#ifndef F_OK +#define F_OK 0 +#endif + #ifdef HAVE_PATHS_H #include #endif diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index 0e958f99d..80a170a62 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -342,6 +342,10 @@ extern const char *__progname; void set_progname(char *argv0); +#ifndef F_OK +#define F_OK 0 +#endif + #ifdef HAVE_PATHS_H #include #endif