about summary refs log tree commit diff
path: root/stdio-common/getw.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/getw.c')
-rw-r--r--stdio-common/getw.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/stdio-common/getw.c b/stdio-common/getw.c
index a1629db438..03da6c3906 100644
--- a/stdio-common/getw.c
+++ b/stdio-common/getw.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -18,6 +18,9 @@
 
 #include <stdio.h>
 
+#ifdef USE_IN_LIBIO
+# define fread(p, m, n, s) _IO_fread (p, m, n, s)
+#endif
 
 /* Read a word (int) from STREAM.  */
 int