From 222894093daa15e527ff4df8aeda6103b3cc547c Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Thu, 16 Aug 2007 03:03:22 +0000 Subject: [PATCH] (ssize_t, pid_t) [_WIN32]: Back out the previous revision of unistd.h and move to w32misc.h instead. Belong into sys/types.h but we can't fix system headers. --- src/lib/w32/unistd.h | 3 --- src/lib/w32/w32misc.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) 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 */