From 859c63524fa542abde71c2564953f4a9aefdc952 Mon Sep 17 00:00:00 2001 From: Andy Getzendanner Date: Thu, 2 Jun 2022 12:26:48 -0700 Subject: [PATCH] Include proper #includes for POSIX thread identity implementation when using that implementation on MinGW. Fixes #1124 PiperOrigin-RevId: 452596638 Change-Id: Iab34b8e112dc050ffe346a418fa7b499983f0dcf --- absl/base/internal/thread_identity.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/absl/base/internal/thread_identity.cc b/absl/base/internal/thread_identity.cc index db46aafb..79853f09 100644 --- a/absl/base/internal/thread_identity.cc +++ b/absl/base/internal/thread_identity.cc @@ -14,7 +14,7 @@ #include "absl/base/internal/thread_identity.h" -#ifndef _WIN32 +#if !defined(_WIN32) || defined(__MINGW32__) #include #include #endif