summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/huge.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/huge.c')
-rw-r--r--gdb/testsuite/gdb.base/huge.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/huge.c b/gdb/testsuite/gdb.base/huge.c
index 419b92cc5b7..446bb180371 100644
--- a/gdb/testsuite/gdb.base/huge.c
+++ b/gdb/testsuite/gdb.base/huge.c
@@ -2,6 +2,8 @@
* Test GDB's ability to read a very large data object from target memory.
*/
+#include <string.h>
+
/* A value that will produce a target data object large enough to
crash GDB. 0x200000 is big enough on GNU/Linux, other systems may
need a larger number. */