Explorar o código

fixup! Remove system headers from or.h

Nick Mathewson %!s(int64=7) %!d(string=hai) anos
pai
achega
8d562c040f
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/or/microdesc.c

+ 3 - 0
src/or/microdesc.c

@@ -33,6 +33,9 @@
 #ifdef HAVE_FCNTL_H
 #ifdef HAVE_FCNTL_H
 #include <fcntl.h>
 #include <fcntl.h>
 #endif
 #endif
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
 
 
 /** A data structure to hold a bunch of cached microdescriptors.  There are
 /** 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
  * two active files in the cache: a "cache file" that we mmap, and a "journal