summaryrefslogtreecommitdiff
path: root/src/or/statefile.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/statefile.c
parent13116378b1a8118e277320e377a691064e54983a (diff)
downloadtor-6c440da9260b6f8fffca7cb95ed6e51f55c71b14.tar.gz
tor-6c440da9260b6f8fffca7cb95ed6e51f55c71b14.zip
Remove system headers from or.h
Diffstat (limited to 'src/or/statefile.c')
-rw-r--r--src/or/statefile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/statefile.c b/src/or/statefile.c
index 5631001c02..e9db1ff069 100644
--- a/src/or/statefile.c
+++ b/src/or/statefile.c
@@ -46,6 +46,10 @@
#include "or/or_state_st.h"
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
/** A list of state-file "abbreviations," for compatibility. */
static config_abbrev_t state_abbrevs_[] = {
{ "AccountingBytesReadInterval", "AccountingBytesReadInInterval", 0, 0 },