diff options
| author | Ulrich Drepper <drepper@gmail.com> | 2012-01-03 07:54:34 -0500 |
|---|---|---|
| committer | Ulrich Drepper <drepper@gmail.com> | 2012-01-03 07:54:34 -0500 |
| commit | aff067358751a03ad1f9e397204490b8bfb2fb29 (patch) | |
| tree | 6d462d2049b215370a4f1075629d71e695ba600d /debug | |
| parent | 9f1151705e3d861a4d6d680e74158cd708119053 (diff) | |
| parent | db6af3ebf46a83b885455dc03a3c2c1c2c2dedec (diff) | |
| download | glibc-aff067358751a03ad1f9e397204490b8bfb2fb29.tar.xz glibc-aff067358751a03ad1f9e397204490b8bfb2fb29.zip | |
Merge branch 'c11'
Diffstat (limited to 'debug')
| -rw-r--r-- | debug/tst-chk1.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/debug/tst-chk1.c b/debug/tst-chk1.c index 0ec8ab07d9..7f0186e706 100644 --- a/debug/tst-chk1.c +++ b/debug/tst-chk1.c @@ -33,6 +33,12 @@ #include <sys/socket.h> #include <sys/un.h> +__BEGIN_DECLS +/* The <stdio.h> header does not include the declaration for gets + anymore when compiling with _GNU_SOURCE. Provide a copy here. */ +extern char *gets (char *__s); +__END_DECLS + #define obstack_chunk_alloc malloc #define obstack_chunk_free free |
