Quick Fix: include/proto.h declaration for setlinebuf() needs protection in case it conflicts with stdio.h (as on SusOS 5.6)

Richard Bollinger rabollinger at home.com
Mon Apr 2 14:29:23 GMT 2001


--- ../source/include/proto.h Mon Apr  2 07:15:25 2001
+++ ./include/proto.h Mon Apr  2 08:48:26 2001
@@ -173,7 +173,9 @@
 /*The following definitions come from  lib/replace.c  */
 
 char *rep_inet_ntoa(struct in_addr ip);
+#ifndef HAVE_SETLINEBUF
 void setlinebuf(FILE *stream);
+#endif
 
 /*The following definitions come from  lib/select.c  */
 






More information about the samba-technical mailing list