nscd broken...

Thorsten Kukuk kukuk@suse.de
Wed Feb 18 18:06:00 GMT 2004


On Wed, Feb 18, Andreas Jaeger wrote:

> 
> nscd does not build, it fails with:
> 
> nscd_conf.c: In function `nscd_parse_file':
> nscd_conf.c:59: warning: implicit declaration of function `__fsetlocking'
> nscd_conf.c:59: error: `FSETLOCKING_BYCALLER' undeclared (first use in this function)
> nscd_conf.c:59: error: (Each undeclared identifier is reported only once
> nscd_conf.c:59: error: for each function it appears in.)

Use this: 

--- nscd/nscd_conf.c
+++ nscd/nscd_conf.c    2004/02/17 14:45:50
@@ -21,6 +21,7 @@
 #include <malloc.h>
 #include <pwd.h>
 #include <stdio.h>
+#include <stdio_ext.h>
 #include <stdlib.h>
 #include <string.h>
 #include <libintl.h>




-- 
Thorsten Kukuk       http://www.suse.de/~kukuk/        kukuk@suse.de
SuSE Linux AG        Maxfeldstr. 5                 D-90409 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B



More information about the Libc-hacker mailing list