From f34f1c278f78090417b3e0704d50a51715884880 Mon Sep 17 00:00:00 2001 From: Omar Sandoval Date: Wed, 3 Apr 2024 11:26:18 -0700 Subject: [PATCH] libdrgn/python: fix #includes in symbol.c Our internal Buck build of drgn doesn't use -I$(srcdir) like automake does, so #include "drgn.h" and #include "symbol.h" in libdrgn/python/symbol.c don't work. "drgn.h" is included by "drgnpy.h", so we can drop that one and use a relative path for "symbol.h" instead. Signed-off-by: Omar Sandoval --- libdrgn/python/symbol.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libdrgn/python/symbol.c b/libdrgn/python/symbol.c index 3e0b0f26..3f6b3f3b 100644 --- a/libdrgn/python/symbol.c +++ b/libdrgn/python/symbol.c @@ -3,9 +3,8 @@ #include -#include "drgn.h" #include "drgnpy.h" -#include "symbol.h" +#include "../symbol.h" PyObject *Symbol_wrap(struct drgn_symbol *sym, PyObject *name_obj) {