diff --git a/src/or/microdesc.c b/src/or/microdesc.c index a0ee4ba5f3..a0e95b66b2 100644 --- a/src/or/microdesc.c +++ b/src/or/microdesc.c @@ -33,6 +33,9 @@ #ifdef HAVE_FCNTL_H #include #endif +#ifdef HAVE_SYS_STAT_H +#include +#endif /** A data structure to hold a bunch of cached microdescriptors. There are * two active files in the cache: a "cache file" that we mmap, and a "journal