Skip to content

Commit ef50a36

Browse files
brad0tru
authored andcommitted
[mlir] Avoid including <alloca.h> on DragonFly
(cherry picked from commit a157a82)
1 parent a710137 commit ef50a36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlir/lib/ExecutionEngine/CRunnerUtils.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
#include "mlir/ExecutionEngine/Msan.h"
1717

1818
#ifndef _WIN32
19-
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
19+
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \
20+
defined(__DragonFly__)
2021
#include <cstdlib>
2122
#else
2223
#include <alloca.h>

0 commit comments

Comments
 (0)