From: Nicolas S. <he...@us...> - 2012-12-29 22:14:36
|
Update of /cvsroot/simplemail/simplemail In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv4826 Modified Files: index_naive.c Log Message: Include varargs.h on ancient GCC to get va_vopy(). This fixes the MorphOS build whichever compiler is used. Index: index_naive.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/index_naive.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- index_naive.c 27 Dec 2012 09:31:30 -0000 1.7 +++ index_naive.c 29 Dec 2012 22:14:34 -0000 1.8 @@ -29,8 +29,11 @@ #include "index_private.h" #include "index_naive.h" +/* Get va_vopy() with pre-C99 compilers */ #ifdef __SASC #define va_copy(dest,src) ((dest) = (src)) +#elif defined(__GNUC__) && (__GNUC__ < 3) +#include <varargs.h> #endif struct document_node |