瀏覽代碼

mjpg-streamer: Fix musl compatibility

Signed-off-by: Ted Hess <thess@kitschensync.net>
Ted Hess 9 年之前
父節點
當前提交
db2eba4dc4
共有 1 個文件被更改,包括 13 次插入0 次删除
  1. 13
    0
      multimedia/mjpg-streamer/patches/005-musl_compatibility.patch

+ 13
- 0
multimedia/mjpg-streamer/patches/005-musl_compatibility.patch 查看文件

@@ -0,0 +1,13 @@
1
+--- a/mjpg_streamer.h
2
++++ b/mjpg_streamer.h
3
+@@ -29,6 +29,10 @@
4
+ #define MAX_OUTPUT_PLUGINS 10
5
+ #define MAX_PLUGIN_ARGUMENTS 32
6
+ 
7
++#define __NEED_pthread_t
8
++#define __NEED_pthread_mutex_t
9
++#define __NEED_pthread_cond_t
10
++
11
+ #include <linux/types.h>          /* for videodev2.h */
12
+ #include <linux/videodev2.h>
13
+