aboutsummaryrefslogtreecommitdiff
path: root/openmp
diff options
context:
space:
mode:
authorDaniel Martinez <danielpedromartinez@duck.com>2024-02-22 21:14:27 +0000
committerGitHub <noreply@github.com>2024-02-22 13:14:27 -0800
commit45fe67dd61a6ac7df84d3a586e41c36a4767757f (patch)
treee0e08ad29f3e36bb9a2b1962e2cdad25f7a32765 /openmp
parent0eb64eebdecb3c138b4adfea1cbcdd03aa7d455c (diff)
downloadllvm-45fe67dd61a6ac7df84d3a586e41c36a4767757f.zip
llvm-45fe67dd61a6ac7df84d3a586e41c36a4767757f.tar.gz
llvm-45fe67dd61a6ac7df84d3a586e41c36a4767757f.tar.bz2
Fix build on musl by including stdint.h (#81434)
openmp fails to build on musl since it lacks the defines for int32_t Co-authored-by: Daniel Martinez <danielmartinez@cock.li>
Diffstat (limited to 'openmp')
-rw-r--r--openmp/libomptarget/include/Shared/SourceInfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openmp/libomptarget/include/Shared/SourceInfo.h b/openmp/libomptarget/include/Shared/SourceInfo.h
index 7ce5fd4..711f06a 100644
--- a/openmp/libomptarget/include/Shared/SourceInfo.h
+++ b/openmp/libomptarget/include/Shared/SourceInfo.h
@@ -13,6 +13,7 @@
#ifndef OMPTARGET_SHARED_SOURCE_INFO_H
#define OMPTARGET_SHARED_SOURCE_INFO_H
+#include <stdint.h>
#include <string>
#ifdef _WIN32