[riot-notifications] [RIOT] posix: add pthread wrapper (#219)

Christian Mehlis notifications at github.com
Thu Nov 14 21:59:19 CET 2013

I currently have the problem, that somehow `pthreadtypes.h` from my host system gets included:
In file included from /home/c/git/RIOT-OS/RIOT/sys/posix/include/pthread.h:104:
/home/c/git/RIOT-OS/RIOT/sys/posix/include/pthread/pthread_mutex.h:6:17: error: 
      typedef redefinition with different types ('mutex_t'
      (aka 'struct mutex_t') vs 'union pthread_mutex_t')
typedef mutex_t pthread_mutex_t;
/usr/include/bits/pthreadtypes.h:118:3: note: previous definition is here
} pthread_mutex_t;

so I can't typedef the pthread data structures....any ideas?

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131114/d762d4ce/attachment.html>

More information about the notifications mailing list