summaryrefslogtreecommitdiff
path: root/rc.h
diff options
context:
space:
mode:
Diffstat (limited to 'rc.h')
-rw-r--r--rc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/rc.h b/rc.h
index 3009803..c3b2243 100644
--- a/rc.h
+++ b/rc.h
@@ -4,6 +4,9 @@
#include <assert.h>
+/* for struct stat */
+#include <sys/stat.h>
+
#define RC "rc: "
/* datatypes */
@@ -399,5 +402,5 @@ extern bool walk(Node *, bool);
extern bool cond;
/* which.c */
-extern bool rc_access(char *, bool);
+extern bool rc_access(char *, bool, struct stat *);
extern char *which(char *, bool);