From 6c440da9260b6f8fffca7cb95ed6e51f55c71b14 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sun, 1 Jul 2018 15:02:01 -0400 Subject: Remove system headers from or.h --- src/or/routerkeys.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/or/routerkeys.c') diff --git a/src/or/routerkeys.c b/src/or/routerkeys.c index b92ec76aac..bb04a8b220 100644 --- a/src/or/routerkeys.c +++ b/src/or/routerkeys.c @@ -29,6 +29,10 @@ #define ENC_KEY_HEADER "Boxed Ed25519 key" #define ENC_KEY_TAG "master" +#ifdef HAVE_UNISTD_H +#include +#endif + /* DOCDOC */ static ssize_t do_getpass(const char *prompt, char *buf, size_t buflen, -- cgit v1.2.3-54-g00ecf