diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f09be36430..bfc8961315 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-08-04 Michael Chastain + + * gdb.base/complex.c: Include . + 2004-08-04 Michael Chastain * gdb.base/complex.c: Add copyright notice. diff --git a/gdb/testsuite/gdb.base/complex.c b/gdb/testsuite/gdb.base/complex.c index dc69f6d8cf..dabbdd6059 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; };