From cb9aaed5eed5265cd8b9930735c86b980c5f8b84 Mon Sep 17 00:00:00 2001 From: Michael 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 f09be36430c..bfc89613158 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 dc69f6d8cf5..dabbdd60595 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.30.2