title: Including a #define in all .c source files at compile time
body: <p>I need to include a <code>#define</code> at the top of around 300 .c files.  I would prefer not to change the code as it is open source code but if I have to I will just write a script to modify all the files.  Is there a way using gcc to add a <code>#define</code> or header file include to the top of every source file during compilation?  The <code>#define</code> is this:</p>
  
  <pre><code>#define malloc MYmalloc
  </code></pre>