diff options
Diffstat (limited to 'src/or/microdesc.c')
-rw-r--r-- | src/or/microdesc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/microdesc.c b/src/or/microdesc.c index 1f8834a059..95c5e8b6f7 100644 --- a/src/or/microdesc.c +++ b/src/or/microdesc.c @@ -30,6 +30,13 @@ #include "or/node_st.h" #include "or/routerstatus_st.h" +#ifdef HAVE_FCNTL_H +#include <fcntl.h> +#endif +#ifdef HAVE_SYS_STAT_H +#include <sys/stat.h> +#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 * file" that we append to. Periodically, we rebuild the cache file to hold |