[FFmpeg-devel] [PATCH 15/17] lavc/os2threads: fix make checkheaders.

Clément Bœsch ubitux at gmail.com
Wed May 9 10:01:40 CEST 2012


From: Clément Bœsch <clement.boesch at smartjog.com>

---
 libavcodec/os2threads.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavcodec/os2threads.h b/libavcodec/os2threads.h
index b816bff..3d9c62f 100644
--- a/libavcodec/os2threads.h
+++ b/libavcodec/os2threads.h
@@ -26,6 +26,9 @@
 #ifndef AVCODEC_OS2PTHREADS_H
 #define AVCODEC_OS2PTHREADS_H
 
+#include "config.h"
+#if HAVE_OS2THREADS
+
 #define INCL_DOS
 #include <os2.h>
 
@@ -159,4 +162,5 @@ static av_always_inline int pthread_cond_wait(pthread_cond_t *cond, pthread_mute
     return 0;
 }
 
+#endif /* HAVE_OS2THREADS */
 #endif /* AVCODEC_OS2PTHREADS_H */
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list