summaryrefslogtreecommitdiff
path: root/compat/os2threads.h
diff options
context:
space:
mode:
authorDave Yeo <daveryeo@telus.net>2013-11-07 11:10:20 -0800
committerMichael Niedermayer <michaelni@gmx.at>2013-11-07 20:46:44 +0100
commitf9c6044a6f61ba1bc93bb8e54d5105e6a97e9815 (patch)
treea29bce2aa5b24ed81f6bcda0b9e8ca73e22af55d /compat/os2threads.h
parent3836af476534e6f84be7b3a19afce3530af50703 (diff)
Fix compilation with os2threads
Signed-off-by: Dave Yeo <daveryeo@telus.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'compat/os2threads.h')
-rw-r--r--compat/os2threads.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/os2threads.h b/compat/os2threads.h
index b816bff15f..441ac43710 100644
--- a/compat/os2threads.h
+++ b/compat/os2threads.h
@@ -32,6 +32,8 @@
#undef __STRICT_ANSI__ /* for _beginthread() */
#include <stdlib.h>
+#include "libavutil/mem.h"
+
typedef TID pthread_t;
typedef void pthread_attr_t;