hi,

builds with the attached patch (untested)

bye,
        - michael
diff --git a/lib/argv.c b/lib/argv.c
index 863a224..3b87ab0 100644
--- a/lib/argv.c
+++ b/lib/argv.c
@@ -30,6 +30,7 @@ Boston, MA 02111-1307, USA.  */
 #include "config.h"
 
 #if HAVE_ALLOCA_H
+# include <string.h>
 # include <alloca.h>
 #elif defined __GNUC__
 # define alloca __builtin_alloca
@@ -61,10 +62,10 @@ void freeargv (char **vector);
 #else  /* !ANSI_PROTOTYPES */
 
 #if !defined _WIN32 || defined __GNUC__
-extern char *memcpy ();                /* Copy memory region */
-extern int strlen ();          /* Count length of string */
-extern char *malloc ();                /* Standard memory allocater */
-extern char *realloc ();       /* Standard memory reallocator */
+extern void *memcpy ();                /* Copy memory region */
+extern long unsigned int strlen ();            /* Count length of string */
+extern void *malloc ();                /* Standard memory allocater */
+extern void *realloc ();       /* Standard memory reallocator */
 extern void free ();           /* Free malloc'd memory */
 extern char *strdup ();                /* Duplicate a string */
 #endif

Reply via email to