aboutsummaryrefslogtreecommitdiff
path: root/libio/vwscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/vwscanf.c')
-rw-r--r--libio/vwscanf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libio/vwscanf.c b/libio/vwscanf.c
index 0804175a81..696e4c5c99 100644
--- a/libio/vwscanf.c
+++ b/libio/vwscanf.c
@@ -24,6 +24,11 @@
This exception applies to code released by its copyright holders
in files containing the exception. */
+/* This file defines one of the deprecated scanf variants. */
+#include <features.h>
+#undef __GLIBC_USE_DEPRECATED_SCANF
+#define __GLIBC_USE_DEPRECATED_SCANF 1
+
#include "libioP.h"
#include <wchar.h>