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

Gerald Carter gcarter at valinux.com
Tue Apr 3 05:01:44 GMT 2001


On Mon, 2 Apr 2001, Richard Bollinger wrote:

> --- ../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  */
>


I think Jeremy just fixed this in CVS.  Thanks for catching it.



Cheers, jerry





More information about the samba-technical mailing list