diff options
Diffstat (limited to 'stdio-common/tst-gets.c')
-rw-r--r-- | stdio-common/tst-gets.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stdio-common/tst-gets.c b/stdio-common/tst-gets.c index 102f235e53..9340c76f8a 100644 --- a/stdio-common/tst-gets.c +++ b/stdio-common/tst-gets.c @@ -17,6 +17,11 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ +/* This file tests gets. Force it to be declared. */ +#include <features.h> +#undef __GLIBC_USE_DEPRECATED_GETS +#define __GLIBC_USE_DEPRECATED_GETS 1 + #include <stdio.h> #include <string.h> |