about summary refs log tree commit diff
path: root/libio/iovswscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iovswscanf.c')
-rw-r--r--libio/iovswscanf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libio/iovswscanf.c b/libio/iovswscanf.c
index f584c963fa..669fdc12b6 100644
--- a/libio/iovswscanf.c
+++ b/libio/iovswscanf.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 <wchar.h>
 #include "strfile.h"