summaryrefslogtreecommitdiff
path: root/msvc_extra_headers/ardourext/sys/time.h.input
diff options
context:
space:
mode:
Diffstat (limited to 'msvc_extra_headers/ardourext/sys/time.h.input')
-rw-r--r--msvc_extra_headers/ardourext/sys/time.h.input7
1 files changed, 6 insertions, 1 deletions
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 <features.h> */
+#define WIN32_LEAN_AND_MEAN /* This line found to be needed by JE - 18-08-2013. Line was formerly. . . #include <features.h> */
+#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 <WinSock2.h> /* gets 'struct timeval' - Changed by JE - 23-07-2013. Was formerly. . . #include <WinSock.h> */
#ifdef _TIMEVAL_DEFINED