malloc(), realloc().. the dark side powerful it is

Thanks , I guessed that was the case. However, I'm having trouble including Andy's code into my sketch.

I copied over his .c and .h files into the same directory as my sketch file , then added #include directive:

#define DEBUG 1
#include "memdebug.h"

however, when I try to reference the functions I get "not declared in this scope" errors.

If I deliberately mis-spell the file name I don't even get an error and verbose output does not show any -I for it.

Is this some Arduino voodoo stripping out the #include , or am I just too tired and missing the obvious?