diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-01 15:02:01 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-01 15:20:37 -0400 |
commit | 6c440da9260b6f8fffca7cb95ed6e51f55c71b14 (patch) | |
tree | 79b12be0db0beb3fa918b5a37ad4b777be5b75a2 /src/or/hibernate.c | |
parent | 13116378b1a8118e277320e377a691064e54983a (diff) | |
download | tor-6c440da9260b6f8fffca7cb95ed6e51f55c71b14.tar.gz tor-6c440da9260b6f8fffca7cb95ed6e51f55c71b14.zip |
Remove system headers from or.h
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r-- | src/or/hibernate.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c index f98ada02d6..c44e974fc1 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -46,6 +46,10 @@ hibernating, phase 2: #include "or/or_connection_st.h" #include "or/or_state_st.h" +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + /** Are we currently awake, asleep, running out of bandwidth, or shutting * down? */ static hibernate_state_t hibernate_state = HIBERNATE_STATE_INITIAL; |