tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: USE_FEATURES=nbcompat and cvsdiff2patch



Richard PALO wrote:
> > -
> > +#ifdef HAVE_NBCOMPAT_H
> > +#include <nbcompat.h>
> > +#else
> >  #include <stdio.h>
> >  #include <string.h>
> >  #include <stdlib.h>
> >  #include <err.h>
> > +#endif
> >  
> >  char *	xstrdup(const char *str);
> >  int	fileline(const char *line, int ch);
> 
> Am I missing something, or is this more or less the way it should be used?
> 

Please use
#include <nbcompat/stdio.h>
#include <nbcompat/string.h>
#include <nbcompat/stdlib.h>
#include <nbcompat/err.h>


Home | Main Index | Thread Index | Old Index