Fix compilation with os2threads
[ffmpeg.git] / compat / os2threads.h
index b816bff..441ac43 100644 (file)
@@ -32,6 +32,8 @@
 #undef __STRICT_ANSI__          /* for _beginthread() */
 #include <stdlib.h>
 
 #undef __STRICT_ANSI__          /* for _beginthread() */
 #include <stdlib.h>
 
+#include "libavutil/mem.h"
+
 typedef TID  pthread_t;
 typedef void pthread_attr_t;
 
 typedef TID  pthread_t;
 typedef void pthread_attr_t;