From 70dcf7878b1f6084a5787c4a4d636f93deb4c871 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Wed, 25 Sep 2013 15:56:01 +0100 Subject: [PATCH] Define 'suseconds_t' which isn't normally defined for Windows --- msvc_extra_headers/ardourext/sys/time.h.input | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/msvc_extra_headers/ardourext/sys/time.h.input b/msvc_extra_headers/ardourext/sys/time.h.input index a18ae94ee4..67c0e7d456 100644 --- a/msvc_extra_headers/ardourext/sys/time.h.input +++ b/msvc_extra_headers/ardourext/sys/time.h.input @@ -1,7 +1,12 @@ #ifndef _WINX_SYS_TIME_H_ #define _WINX_SYS_TIME_H_ -#define WIN32_LEAN_AND_MEAN /* This line found to be needed by JE - 18-08-2013. Line was formerly. . . #include */ +#define WIN32_LEAN_AND_MEAN /* This line found to be needed by JE - 18-08-2013. Line was formerly. . . #include */ +#ifndef __suseconds_t_defined /* This section added by JE - 22-08-2013 */ +#define __suseconds_t_defined +typedef long __suseconds_t; +typedef __suseconds_t suseconds_t; +#endif #include /* gets 'struct timeval' - Changed by JE - 23-07-2013. Was formerly. . . #include */ #ifdef _TIMEVAL_DEFINED