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 <osandov@osandov.com>
This commit is contained in:
Omar Sandoval 2024-04-03 11:26:18 -07:00
parent ed6bd2f766
commit f34f1c278f

View File

@ -3,9 +3,8 @@
#include <inttypes.h>
#include "drgn.h"
#include "drgnpy.h"
#include "symbol.h"
#include "../symbol.h"
PyObject *Symbol_wrap(struct drgn_symbol *sym, PyObject *name_obj)
{