--- gcc-3.4.6/libiberty/pex-unix.c 2003-01-24 21:02:11.000000000 +0100 +++ libiberty/pex-unix.c 2013-05-19 20:23:32.000000000 +0200 @@ -44,6 +44,10 @@ #define waitpid(pid, status, flags) wait(status) #endif +#ifdef __amigaos__ +#define fork() vfork() +#endif + extern int execv (); extern int execvp ();