summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/include/lldb/Host/TimeValue.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/include/lldb/Host/TimeValue.h b/lldb/include/lldb/Host/TimeValue.h
index 11fe0f65696..81d1aed8c45 100644
--- a/lldb/include/lldb/Host/TimeValue.h
+++ b/lldb/include/lldb/Host/TimeValue.h
@@ -14,6 +14,12 @@
#include <stdint.h>
#include <sys/time.h>
+// BEGIN: MinGW work around
+#if !defined(_STRUCT_TIMESPEC) && !defined(HAVE_STRUCT_TIMESPEC)
+#include <pthread.h>
+#endif
+// END: MinGW work around
+
// C++ Includes
// Other libraries and framework includes
// Project includes
OpenPOWER on IntegriCloud