Include nscd/nscd_proto.h only if needed.
authordrepper <drepper>
Sun, 18 Oct 1998 14:49:06 +0000 (14:49 +0000)
committerdrepper <drepper>
Sun, 18 Oct 1998 14:49:06 +0000 (14:49 +0000)
nss/getXXbyYY_r.c

index 0f12067..3befede 100644 (file)
@@ -19,7 +19,9 @@
 
 #include <errno.h>
 #include "nsswitch.h"
-#include <nscd/nscd_proto.h>
+#ifdef USE_NSCD
+# include <nscd/nscd_proto.h>
+#endif
 
 /*******************************************************************\
 |* Here we assume several symbols to be defined:                  *|