Skip to content

Commit 12c8947

Browse files
author
Joel Brobecker
committed
* ada-valprint.c, parse.c: Include defs.h before including ctype.h.
1 parent 4c49065 commit 12c8947

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

gdb/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2010-01-09 Joel Brobecker <[email protected]>
2+
3+
Fix build failure of solaris-hosted cross debuggers.
4+
* ada-valprint.c, parse.c: Include defs.h before including ctype.h.
5+
16
2010-01-09 Joel Brobecker <[email protected]>
27

38
Fix build failure on sparc-solaris.

gdb/ada-valprint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
You should have received a copy of the GNU General Public License
2020
along with this program. If not, see <http://www.gnu.org/licenses/>. */
2121

22-
#include <ctype.h>
2322
#include "defs.h"
23+
#include <ctype.h>
2424
#include "gdb_string.h"
2525
#include "symtab.h"
2626
#include "gdbtypes.h"

gdb/parse.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@
3131
during the process of parsing; the lower levels of the tree always
3232
come first in the result. */
3333

34-
#include <ctype.h>
35-
3634
#include "defs.h"
35+
#include <ctype.h>
3736
#include "arch-utils.h"
3837
#include "gdb_string.h"
3938
#include "symtab.h"

0 commit comments

Comments
 (0)