diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2013-10-14 20:53:26 +0200 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2013-10-14 20:53:26 +0200 |
commit | c55896a6b60303160aa01b8f0502d63375727e86 (patch) | |
tree | cc84ca58848cecf729434e0e61991bc6a1452bdd /package/bcm2835-vc/patches/patch-interface_vcos_pthreads_vcos_platform_h | |
parent | ff4464fa8aef54dbfb124ec22cf4138ebb7219d1 (diff) |
fix musl cross-compile
Diffstat (limited to 'package/bcm2835-vc/patches/patch-interface_vcos_pthreads_vcos_platform_h')
-rw-r--r-- | package/bcm2835-vc/patches/patch-interface_vcos_pthreads_vcos_platform_h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/bcm2835-vc/patches/patch-interface_vcos_pthreads_vcos_platform_h b/package/bcm2835-vc/patches/patch-interface_vcos_pthreads_vcos_platform_h new file mode 100644 index 000000000..95b5d480b --- /dev/null +++ b/package/bcm2835-vc/patches/patch-interface_vcos_pthreads_vcos_platform_h @@ -0,0 +1,12 @@ +--- bcm2835-vc-0.3.orig/interface/vcos/pthreads/vcos_platform.h 2013-09-27 14:22:08.000000000 +0200 ++++ bcm2835-vc-0.3/interface/vcos/pthreads/vcos_platform.h 2013-10-13 20:20:55.000000000 +0200 +@@ -120,9 +120,6 @@ typedef struct + + #define VCOS_ONCE_INIT PTHREAD_ONCE_INIT + +-#if defined(__arm__) && !defined(_HAVE_TIMER_T) && !defined(ANDROID) +-typedef __timer_t timer_t; +-#endif + typedef struct VCOS_TIMER_T + { + pthread_t thread; /**< id of the timer thread */ |