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:
Joel Brobecker 2010-01-18 10:50:45 +00:00
parent f80d3ff275
commit d9c57d9ff1
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-01-18 Joel Brobecker <brobecker@adacore.com>
Fix build failure when building without Python support.
* python/python.c: Always include exceptions.h, even when HAVE_PYTHON
is not defined.
2010-01-18 Joel Brobecker <brobecker@adacore.com>
Use XVS field type instead of doing a parallel lookup.

View File

@ -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"