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

Re: [leafnode-list] leafnode on Digital Unix



On Fri, Feb 16, 2001 at 03:08:22PM +0200, Alessio Bragadini wrote:
> morticia:/usr/local/src/leafnode-1.9.18$ make
> cc -I. -DHAVE_CONFIG_H  -g   -c -o nntputil.o nntputil.c
> cc: Error: leafnode.h, line 40: Ill-formed parameter type list.
> (parmtyplist)
> int snprintf( char *str, size_t n, const char *format, ... );
> -------------------------^
> make: *** [nntputil.o] Error 1

------ snip --------
*** leafnode.h.orig     Fri Feb 16 14:36:29 2001
--- leafnode.h  Fri Feb 16 14:37:22 2001
***************
*** 36,41 ****
--- 36,42 ----
  char * strdup (const char *);
  #endif

+ #include <sys/types.h> /* for size_t and regex.h */
  #ifndef HAVE_SNPRINTF
  int snprintf( char *str, size_t n, const char *format, ... );
  #endif
***************
*** 49,55 ****
  #define LOG_CONS 0 /* if it isn't supported, make do without */
  #endif

- #include <sys/types.h>        /* for regex.h */
  #include <regex.h> /* regex_t */
  #include <stdio.h> /* FILE * */
  #include <time.h>  /* time_t */
--- 50,55 ----
-------- snip ---------

HTH,
	Jo:rg

-- 
Fortune cookie of the day:
Minnie Mouse is a slow maze learner.

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list