diff options
Diffstat (limited to 'debug/tst-chk1.c')
-rw-r--r-- | debug/tst-chk1.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debug/tst-chk1.c b/debug/tst-chk1.c index 164d0ae63e..60c8e1e1d0 100644 --- a/debug/tst-chk1.c +++ b/debug/tst-chk1.c @@ -16,6 +16,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 <assert.h> #include <fcntl.h> #include <locale.h> |