Skip to content

Commit

Permalink
Fix build on musl by including stdint.h (llvm#81434)
Browse files Browse the repository at this point in the history
openmp fails to build on musl since it lacks the defines for int32_t

Co-authored-by: Daniel Martinez <danielmartinez@cock.li>
(cherry picked from commit 45fe67d)
  • Loading branch information
Calandracas606 authored and tstellar committed Feb 26, 2024
1 parent a5b2e43 commit c8b11e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openmp/libomptarget/include/Shared/SourceInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#ifndef OMPTARGET_SHARED_SOURCE_INFO_H
#define OMPTARGET_SHARED_SOURCE_INFO_H

#include <stdint.h>
#include <string>

#ifdef _WIN32
Expand Down

0 comments on commit c8b11e9

Please sign in to comment.