From cb9aaed5eed5265cd8b9930735c86b980c5f8b84 Mon Sep 17 00:00:00 2001 From: Michael Chastain Date: Thu, 5 Aug 2004 00:59:23 +0000 Subject: 2004-08-04 Michael Chastain * gdb.base/complex.c: Include . --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/complex.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f09be36..bfc8961 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2004-08-04 Michael Chastain + * gdb.base/complex.c: Include . + +2004-08-04 Michael Chastain + * gdb.base/complex.c: Add copyright notice. 2004-08-04 Michael Chastain diff --git a/gdb/testsuite/gdb.base/complex.c b/gdb/testsuite/gdb.base/complex.c index dc69f6d..dabbdd6 100644 --- a/gdb/testsuite/gdb.base/complex.c +++ b/gdb/testsuite/gdb.base/complex.c @@ -1,4 +1,4 @@ -/* Copyright 2002, 2003 +/* Copyright 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of GDB. @@ -21,6 +21,8 @@ /* Test taken from GCC. Verify that we can print a structure containing a complex number. */ +#include + typedef __complex__ float cf; struct x { char c; cf f; } __attribute__ ((__packed__)); struct unpacked_x { char c; cf f; }; -- cgit v1.1