summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-01 15:31:18 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-01 15:31:18 -0400
commit8d562c040ff46da0b05df9aff7294e854238b263 (patch)
treede8cf21fcc490c47b1d0fd6df26dd00d7fda5c0f /src
parent6c440da9260b6f8fffca7cb95ed6e51f55c71b14 (diff)
downloadtor-8d562c040ff46da0b05df9aff7294e854238b263.tar.gz
tor-8d562c040ff46da0b05df9aff7294e854238b263.zip
fixup! Remove system headers from or.h
Diffstat (limited to 'src')
-rw-r--r--src/or/microdesc.c3
1 files changed, 3 insertions, 0 deletions
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 <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