diff --git a/src/tools/tor-gencert.c b/src/tools/tor-gencert.c index b5c96e556a..2d92e1ee8b 100644 --- a/src/tools/tor-gencert.c +++ b/src/tools/tor-gencert.c @@ -9,7 +9,9 @@ #include #include #include +#ifdef HAVE_UNISTD_H #include +#endif #include #include