From: Peter Howkins Date: Mon, 12 Mar 2012 00:37:58 +0000 (+0000) Subject: On Linux don't redefine the prototypes to malloc() and realloc() to the wrong X-Git-Tag: 2.2.0a~26^2~116 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=84139c35754b4ff9ff43b664196c7c5f67fa420e;p=oweals%2Fcde.git On Linux don't redefine the prototypes to malloc() and realloc() to the wrong things. --- diff --git a/cde/lib/tt/bin/ttauth/ttauth.h b/cde/lib/tt/bin/ttauth/ttauth.h index df6d5815..5e1b27f5 100644 --- a/cde/lib/tt/bin/ttauth/ttauth.h +++ b/cde/lib/tt/bin/ttauth/ttauth.h @@ -57,7 +57,9 @@ typedef int Bool; extern char *ProgramName; +#if !defined(linux) extern char *malloc(), *realloc(); +#endif int process_command(), auth_initialize(), auth_finalize(); extern int print_help(); extern int verbose;