[GXemul-devel] build fix for current SVN trunk
Status: Alpha
Brought to you by:
gavare
From: Markus D. <ma...@au...> - 2009-01-13 13:04:26
|
Hi, I need the following patch to build current GXemul trunk on Linux/i386 with gcc 4.3.2 as -Werror is enabled. Besides, there seems to be a problem with the mailing list (configuration error or problem on SF side): all confirmation requests an so on are sent to ${USER}-owner@${DOMAIN}, if I hadn't configured a catch-all account I would have missed these mails. Greetings, Markus --- a/src/main/GXemul.cc +++ b/src/main/GXemul.cc @@ -282,6 +282,8 @@ #include <fstream> #include <iostream> +/* for strdup() */ +#include <string.h> /* main.c: */ extern "C" int old_main(int argc, char *argv[]); |