diff options
Diffstat (limited to 'src/test/test_hs.c')
-rw-r--r-- | src/test/test_hs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/test_hs.c b/src/test/test_hs.c index 2a6cd28272..b17e8cf21f 100644 --- a/src/test/test_hs.c +++ b/src/test/test_hs.c @@ -30,6 +30,10 @@ #include "test/test_helpers.h" +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + /* mock ID digest and longname for node that's in nodelist */ #define HSDIR_EXIST_ID "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA" \ "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA" |