* gdb.base/complex.c: Include <stdlib.h>.
+2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
+
+ * gdb.base/complex.c: Include <stdlib.h>.
+
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/complex.c: Add copyright notice.
-/* Copyright 2002, 2003
+/* Copyright 2002, 2003, 2004
Free Software Foundation, Inc.
This file is part of GDB.
/* Test taken from GCC. Verify that we can print a structure containing
a complex number. */
+#include <stdlib.h>
+
typedef __complex__ float cf;
struct x { char c; cf f; } __attribute__ ((__packed__));
struct unpacked_x { char c; cf f; };