[flang] Temporary include variant.h in enum-class.h. (#134460)

I am having problems building Fortran runtime for CUDA
after #134164. I need more time to investigate it,
but in the meantime including variant.h (or any header
that eventually includes a libcudacxx header) resolves
the issue.
This commit is contained in:
Slava Zakharin
2025-04-04 16:39:49 -07:00
committed by GitHub
parent 74a7802893
commit 7001993880

View File

@@ -17,6 +17,7 @@
#ifndef FORTRAN_COMMON_ENUM_CLASS_H_
#define FORTRAN_COMMON_ENUM_CLASS_H_
#include "flang/Common/variant.h"
#include <array>
#include <string>