From fe27242f265f34604d95edc58cf2e00d9873af73 Mon Sep 17 00:00:00 2001 From: "Daniel R. Carvalho" Date: Sun, 30 May 2021 09:06:52 -0300 Subject: [PATCH] python: Fix include of pybind The included file was not the correct one to get the macro from, but the macro will use the original file included. Change-Id: I612f0d0b291cc2da8668c60471b7b78c7967ea5b Signed-off-by: Daniel R. Carvalho Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/46319 Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg Tested-by: kokoro --- src/python/pybind11/core.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/python/pybind11/core.hh b/src/python/pybind11/core.hh index 4fc9cc0a66..33562e8fd4 100644 --- a/src/python/pybind11/core.hh +++ b/src/python/pybind11/core.hh @@ -38,6 +38,7 @@ #ifndef __PYTHON_PYBIND11_CORE_HH__ #define __PYTHON_PYBIND11_CORE_HH__ +#include "pybind11/cast.h" #include "pybind11/stl_bind.h" #include