Fix build failure when building without Python support.
* python/python.c: Always include exceptions.h, even when HAVE_PYTHON is not defined.
This commit is contained in:
parent
f80d3ff275
commit
d9c57d9ff1
2 changed files with 7 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
#include "observer.h"
|
||||
#include "value.h"
|
||||
#include "language.h"
|
||||
#include "exceptions.h"
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
|
@ -45,7 +46,6 @@ static int gdbpy_auto_load = 1;
|
|||
#include "cli/cli-decode.h"
|
||||
#include "charset.h"
|
||||
#include "top.h"
|
||||
#include "exceptions.h"
|
||||
#include "python-internal.h"
|
||||
#include "version.h"
|
||||
#include "target.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue