diff options
Diffstat (limited to 'src/test/test.c')
-rw-r--r-- | src/test/test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/test.c b/src/test/test.c index 7f196aacf4..c2dba924e4 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -71,6 +71,9 @@ int have_failed = 0; /** Temporary directory (set up by setup_directory) under which we store all * our files during testing. */ static char temp_dir[256]; +#ifdef _WIN32 +#define pid_t unsigned +#endif static pid_t temp_dir_setup_in_pid = 0; /** Select and create the temporary directory we'll use to run our unit tests. |