mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-22 01:03:07 +00:00
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:
parent
ed6bd2f766
commit
f34f1c278f
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user