summaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-01 15:02:01 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-01 15:20:37 -0400
commit6c440da9260b6f8fffca7cb95ed6e51f55c71b14 (patch)
tree79b12be0db0beb3fa918b5a37ad4b777be5b75a2 /src/or/rephist.c
parent13116378b1a8118e277320e377a691064e54983a (diff)
downloadtor-6c440da9260b6f8fffca7cb95ed6e51f55c71b14.tar.gz
tor-6c440da9260b6f8fffca7cb95ed6e51f55c71b14.zip
Remove system headers from or.h
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r--src/or/rephist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index 02dc864033..a74a952ce2 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -98,6 +98,10 @@
#include "lib/math/fp.h"
#include "lib/math/laplace.h"
+#ifdef HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
+
static void bw_arrays_init(void);
static void predicted_ports_alloc(void);