Index: zzuf/trunk/src/lib-stream.c
===================================================================
--- zzuf/trunk/src/lib-stream.c	(revision 1791)
+++ zzuf/trunk/src/lib-stream.c	(revision 2330)
@@ -62,4 +62,10 @@
 #if defined HAVE__IO_GETC
 static int     (*ORIG(_IO_getc)) (FILE *stream);
+#endif
+#if defined HAVE_GETC_UNLOCKED
+static int     (*ORIG(getc_unlocked))  (FILE *stream);
+#endif
+#if defined HAVE_FGETC_UNLOCKED
+static int     (*ORIG(fgetc_unlocked)) (FILE *stream);
 #endif
 static char *  (*ORIG(fgets))    (char *s, int size, FILE *stream);
@@ -322,4 +328,18 @@
 {
     int ret; FGETC(_IO_getc); return ret;
+}
+#endif
+
+#if defined HAVE_GETC_UNLOCKED
+int NEW(getc_unlocked)(FILE *stream)
+{
+    int ret; FGETC(getc_unlocked); return ret;
+}
+#endif
+
+#if defined HAVE_FGETC_UNLOCKED
+int NEW(fgetc_unlocked)(FILE *stream)
+{
+    int ret; FGETC(fgetc_unlocked); return ret;
 }
 #endif
