about summary refs log tree commit diff
path: root/libio/fwscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/fwscanf.c')
-rw-r--r--libio/fwscanf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libio/fwscanf.c b/libio/fwscanf.c
index c316ef961d..24872f46ff 100644
--- a/libio/fwscanf.c
+++ b/libio/fwscanf.c
@@ -15,6 +15,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>
 #include <stdarg.h>
 #include <stdio.h>