diff --git a/src/lib/w32/unistd.h b/src/lib/w32/unistd.h index eac9220c..43c8a8d5 100644 --- a/src/lib/w32/unistd.h +++ b/src/lib/w32/unistd.h @@ -38,9 +38,6 @@ #include "getopt.h" #include -typedef long ssize_t; -typedef int pid_t; - /* * posixfile.c */ diff --git a/src/lib/w32/w32misc.h b/src/lib/w32/w32misc.h index 26fd78e8..2faa1976 100644 --- a/src/lib/w32/w32misc.h +++ b/src/lib/w32/w32misc.h @@ -47,6 +47,9 @@ #define random rand #define srandom srand +typedef long ssize_t; +typedef int pid_t; + /* * strptime.c */