{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2361","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2361/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2361/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2361/events","html_url":"https://github.com/RIOT-OS/RIOT/issues/2361","id":55646330,"number":2361,"title":"malloc.h not found on OS X","user":{"login":"josephnoir","id":2156518,"avatar_url":"https://avatars.githubusercontent.com/u/2156518?v=3","gravatar_id":"","url":"https://api.github.com/users/josephnoir","html_url":"https://github.com/josephnoir","followers_url":"https://api.github.com/users/josephnoir/followers","following_url":"https://api.github.com/users/josephnoir/following{/other_user}","gists_url":"https://api.github.com/users/josephnoir/gists{/gist_id}","starred_url":"https://api.github.com/users/josephnoir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephnoir/subscriptions","organizations_url":"https://api.github.com/users/josephnoir/orgs","repos_url":"https://api.github.com/users/josephnoir/repos","events_url":"https://api.github.com/users/josephnoir/events{/privacy}","received_events_url":"https://api.github.com/users/josephnoir/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/native","name":"native","color":"aaaaaa"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/osx","name":"osx","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"BytesGalore","id":3903215,"avatar_url":"https://avatars.githubusercontent.com/u/3903215?v=3","gravatar_id":"","url":"https://api.github.com/users/BytesGalore","html_url":"https://github.com/BytesGalore","followers_url":"https://api.github.com/users/BytesGalore/followers","following_url":"https://api.github.com/users/BytesGalore/following{/other_user}","gists_url":"https://api.github.com/users/BytesGalore/gists{/gist_id}","starred_url":"https://api.github.com/users/BytesGalore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BytesGalore/subscriptions","organizations_url":"https://api.github.com/users/BytesGalore/orgs","repos_url":"https://api.github.com/users/BytesGalore/repos","events_url":"https://api.github.com/users/BytesGalore/events{/privacy}","received_events_url":"https://api.github.com/users/BytesGalore/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-01-27T17:15:47Z","updated_at":"2015-03-07T09:13:46Z","closed_at":null,"body":"Using the native port on OS X with clang I get this error when using pthread:\r\n\r\n```\r\n/Users/noir/Desktop/RIOT/sys/posix/pthread/pthread.c:22:10: fatal error: 'malloc.h' file not found\r\n#include <malloc.h>\r\n         ^\r\n1 error generated.\r\n```"},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/77680736","html_url":"https://github.com/RIOT-OS/RIOT/issues/2361#issuecomment-77680736","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2361","id":77680736,"user":{"login":"LudwigOrtmann","id":3739173,"avatar_url":"https://avatars.githubusercontent.com/u/3739173?v=3","gravatar_id":"","url":"https://api.github.com/users/LudwigOrtmann","html_url":"https://github.com/LudwigOrtmann","followers_url":"https://api.github.com/users/LudwigOrtmann/followers","following_url":"https://api.github.com/users/LudwigOrtmann/following{/other_user}","gists_url":"https://api.github.com/users/LudwigOrtmann/gists{/gist_id}","starred_url":"https://api.github.com/users/LudwigOrtmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LudwigOrtmann/subscriptions","organizations_url":"https://api.github.com/users/LudwigOrtmann/orgs","repos_url":"https://api.github.com/users/LudwigOrtmann/repos","events_url":"https://api.github.com/users/LudwigOrtmann/events{/privacy}","received_events_url":"https://api.github.com/users/LudwigOrtmann/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T09:13:46Z","updated_at":"2015-03-07T09:13:46Z","body":"Unconditionally including `stdlib.h` leads to conflicts:\r\n```\r\n/home/lo/RIOT/sys/posix/pthread/include/pthread_threading_attr.h:34:3: error: conflicting types for ‘pthread_attr_t’\r\n```"}}