From 3bdad8ce26969490f47095ce4c9f8c5c39a52c56 Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Thu, 16 Aug 2007 03:15:33 +0000 Subject: [PATCH] For w32misc.h add the POSIX equivalent include file for each declaration. --- src/lib/w32/w32misc.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lib/w32/w32misc.h b/src/lib/w32/w32misc.h index 2faa1976b..caa32fdf6 100644 --- a/src/lib/w32/w32misc.h +++ b/src/lib/w32/w32misc.h @@ -39,19 +39,22 @@ /* integral mismatch, due to misuse of sector short */ #pragma warning (disable : 4761 ) +/* string.h */ #define strncasecmp(s1, s2, s3) _strnicmp((s1), (s2), (s3)) #endif /* !__GNUC__ */ +/* stdio.h */ #define vsnprintf _vsnprintf #define snprintf _snprintf + +/* stdlib.h */ #define random rand #define srandom srand +/* sys/types.h */ typedef long ssize_t; typedef int pid_t; -/* - * strptime.c - */ +/* time.h */ extern char *strptime(const char *buf, const char *fmt, struct tm *tm); #endif /* W32MISC_H */ -- 2.43.0