summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/program/prog_to_nir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/program/prog_to_nir.h b/src/mesa/program/prog_to_nir.h
index 34e4cd10461..09425b52e17 100644
--- a/src/mesa/program/prog_to_nir.h
+++ b/src/mesa/program/prog_to_nir.h
@@ -24,6 +24,9 @@
#pragma once
#ifndef PROG_TO_NIR_H
#define PROG_TO_NIR_H
+
+#include "compiler/nir/nir.h"
+
#ifdef __cplusplus
extern "C" {
#endif