HomePhabricator

tests: Include unistd.h only if available

Authored by Anderson Toshiyuki Sasaki <ansasaki@redhat.com> on Nov 16 2018, 11:44 AM.

Description

tests: Include unistd.h only if available

Include the header in tests/torture_pki.c only if it is available. It
is not available in Windows environment.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>