Do not #include common.h without necessity.
authorDiego Biurrun <diego@biurrun.de>
Sun, 25 Jan 2009 17:36:48 +0000 (17:36 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 25 Jan 2009 17:36:48 +0000 (17:36 +0000)
This eliminates the need to work around common.h overriding certain system
functions which are required in this header.

Originally committed as revision 16776 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/mem.c

index 1b960f2..45cd986 100644 (file)
  */
 
 #include "config.h"
-#include "common.h"
-
-/* here we can use OS dependent allocation functions */
-#undef malloc
-#undef free
-#undef realloc
 
 #include <limits.h>
 #include <stdlib.h>