summary refs log tree commit diff
path: root/pwd/fgetpwent_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'pwd/fgetpwent_r.c')
-rw-r--r--pwd/fgetpwent_r.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pwd/fgetpwent_r.c b/pwd/fgetpwent_r.c
index 78b491d386..4986e7452c 100644
--- a/pwd/fgetpwent_r.c
+++ b/pwd/fgetpwent_r.c
@@ -23,6 +23,7 @@
 
 #ifdef USE_IN_LIBIO
 # define flockfile(s) _IO_flockfile (s)
+# define funlockfile(s) _IO_funlockfile (s)
 #endif
 
 /* Define a line parsing function using the common code