[tor-commits] [tor/master] fixup! Remove system headers from or.h

nickm at torproject.org nickm at torproject.org
Tue Jul 3 15:11:30 UTC 2018


commit 8d562c040ff46da0b05df9aff7294e854238b263
Author: Nick Mathewson <nickm at torproject.org>
Date:   Sun Jul 1 15:31:18 2018 -0400

    fixup! Remove system headers from or.h
---
 src/or/microdesc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/or/microdesc.c b/src/or/microdesc.c
index a0ee4ba5f..a0e95b66b 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





More information about the tor-commits mailing list