various openbsd and general warning fixes - patch by Björn Sandell <biorn@dce.chalmer...
authorBjörn Sandell <biorn@dce.chalmers.se>
Sun, 12 May 2002 02:18:52 +0000 (02:18 +0000)
committerArpi <arpi@thot.banki.hu>
Sun, 12 May 2002 02:18:52 +0000 (02:18 +0000)
Originally committed as revision 6058 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

postproc/swscale.c

index d5a788a..a602de0 100644 (file)
@@ -55,6 +55,8 @@ untested special converters
 #include <assert.h>
 #ifdef HAVE_MALLOC_H
 #include <malloc.h>
+#else
+#include <stdlib.h>
 #endif
 #include "swscale.h"
 #include "../cpudetect.h"