summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorAnders Björklund <anders@itension.se>2016-03-04 10:39:33 +0100
committerAnders Björklund <anders@itension.se>2016-03-04 10:39:33 +0100
commitbc10a51bdb6596bde91980caa7fa2a9b62f7513b (patch)
tree3129ea31f46b9c4b6f057cd8972cb2a03f8249ee /system.h
parent5e31247ebe30b4a74053e0dfda834689e42abf91 (diff)
downloadccache-bc10a51bdb6596bde91980caa7fa2a9b62f7513b.tar.gz
ESTALE is not defined on all systems (e.g Windows)
Diffstat (limited to 'system.h')
-rw-r--r--system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/system.h b/system.h
index ca17b493..dd11f2e5 100644
--- a/system.h
+++ b/system.h
@@ -51,6 +51,10 @@
extern char **environ;
+#ifndef ESTALE
+#define ESTALE -1
+#endif
+
#if !HAVE_VSNPRINTF
int rpl_vsnprintf(char *, size_t, const char *, va_list);
#define vsnprintf rpl_vsnprintf