about summary refs log tree commit diff
path: root/stdio-common/vfwscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/vfwscanf.c')
-rw-r--r--stdio-common/vfwscanf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/stdio-common/vfwscanf.c b/stdio-common/vfwscanf.c
index f8cfd81982..e75aafe39e 100644
--- a/stdio-common/vfwscanf.c
+++ b/stdio-common/vfwscanf.c
@@ -16,6 +16,11 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+/* 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>
 
 int