From 84139c35754b4ff9ff43b664196c7c5f67fa420e Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 12 Mar 2012 00:37:58 +0000 Subject: [PATCH] On Linux don't redefine the prototypes to malloc() and realloc() to the wrong things. --- cde/lib/tt/bin/ttauth/ttauth.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cde/lib/tt/bin/ttauth/ttauth.h b/cde/lib/tt/bin/ttauth/ttauth.h index df6d58159..5e1b27f5f 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;