* lib/nscd.c: Make sure the file is not empty when configured

without nscd support.
This commit is contained in:
nekral-guest 2008-08-30 18:33:13 +00:00
parent 8075d27e32
commit de11907053
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-08-27 Nicolas François <nicolas.francois@centraliens.net>
* lib/nscd.c: Make sure the file is not empty when configured
without nscd support.
2008-08-27 Nicolas François <nicolas.francois@centraliens.net>
* configure.in: Remove the USE_NSCD AM_CONDITIONAL (USE_NSCD is

View File

@ -57,5 +57,7 @@ int nscd_flush_cache (const char *service)
return 0;
}
#endif
#else /* USE_NSCD */
extern int errno; /* warning: ANSI C forbids an empty source file */
#endif /* USE_NSCD */