From 0bb5ae3d9ecad69471a33b876977a800d32d1f57 Mon Sep 17 00:00:00 2001 From: chastain Date: Thu, 5 Aug 2004 00:59:23 +0000 Subject: [PATCH] 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 f09be36430..bfc8961315 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 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; }; -- 2.11.0