{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/6134","repository_url":"https://api.github.com/repos/RIOT-OS/RIOT","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/6134/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/6134/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/6134/events","html_url":"https://github.com/RIOT-OS/RIOT/pull/6134","id":189789021,"number":6134,"title":"native: fix netdev2_tap for macOS","user":{"login":"smlng","id":10532675,"avatar_url":"https://avatars.githubusercontent.com/u/10532675?v=3","gravatar_id":"","url":"https://api.github.com/users/smlng","html_url":"https://github.com/smlng","followers_url":"https://api.github.com/users/smlng/followers","following_url":"https://api.github.com/users/smlng/following{/other_user}","gists_url":"https://api.github.com/users/smlng/gists{/gist_id}","starred_url":"https://api.github.com/users/smlng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smlng/subscriptions","organizations_url":"https://api.github.com/users/smlng/orgs","repos_url":"https://api.github.com/users/smlng/repos","events_url":"https://api.github.com/users/smlng/events{/privacy}","received_events_url":"https://api.github.com/users/smlng/received_events","type":"User","site_admin":false},"labels":[{"id":23399098,"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/bug","name":"bug","color":"fc2929","default":true},{"id":76555381,"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/native","name":"native","color":"aaaaaa","default":false},{"id":108195264,"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/osx","name":"osx","color":"207de5","default":false}],"state":"open","locked":false,"assignee":{"login":"miri64","id":675644,"avatar_url":"https://avatars.githubusercontent.com/u/675644?v=3","gravatar_id":"","url":"https://api.github.com/users/miri64","html_url":"https://github.com/miri64","followers_url":"https://api.github.com/users/miri64/followers","following_url":"https://api.github.com/users/miri64/following{/other_user}","gists_url":"https://api.github.com/users/miri64/gists{/gist_id}","starred_url":"https://api.github.com/users/miri64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miri64/subscriptions","organizations_url":"https://api.github.com/users/miri64/orgs","repos_url":"https://api.github.com/users/miri64/repos","events_url":"https://api.github.com/users/miri64/events{/privacy}","received_events_url":"https://api.github.com/users/miri64/received_events","type":"User","site_admin":false},"assignees":[{"login":"miri64","id":675644,"avatar_url":"https://avatars.githubusercontent.com/u/675644?v=3","gravatar_id":"","url":"https://api.github.com/users/miri64","html_url":"https://github.com/miri64","followers_url":"https://api.github.com/users/miri64/followers","following_url":"https://api.github.com/users/miri64/following{/other_user}","gists_url":"https://api.github.com/users/miri64/gists{/gist_id}","starred_url":"https://api.github.com/users/miri64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miri64/subscriptions","organizations_url":"https://api.github.com/users/miri64/orgs","repos_url":"https://api.github.com/users/miri64/repos","events_url":"https://api.github.com/users/miri64/events{/privacy}","received_events_url":"https://api.github.com/users/miri64/received_events","type":"User","site_admin":false},{"login":"LudwigKnuepfer","id":3739173,"avatar_url":"https://avatars.githubusercontent.com/u/3739173?v=3","gravatar_id":"","url":"https://api.github.com/users/LudwigKnuepfer","html_url":"https://github.com/LudwigKnuepfer","followers_url":"https://api.github.com/users/LudwigKnuepfer/followers","following_url":"https://api.github.com/users/LudwigKnuepfer/following{/other_user}","gists_url":"https://api.github.com/users/LudwigKnuepfer/gists{/gist_id}","starred_url":"https://api.github.com/users/LudwigKnuepfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LudwigKnuepfer/subscriptions","organizations_url":"https://api.github.com/users/LudwigKnuepfer/orgs","repos_url":"https://api.github.com/users/LudwigKnuepfer/repos","events_url":"https://api.github.com/users/LudwigKnuepfer/events{/privacy}","received_events_url":"https://api.github.com/users/LudwigKnuepfer/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-11-16T17:51:58Z","updated_at":"2016-11-16T21:43:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/6134","html_url":"https://github.com/RIOT-OS/RIOT/pull/6134","diff_url":"https://github.com/RIOT-OS/RIOT/pull/6134.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/6134.patch"},"body":"required for #6122, fixes following error:\r\n\r\n```\r\n\"/Applications/Xcode.app/Contents/Developer/usr/bin/make\" -C RIOT/cpu/native/netdev2_tap\r\nRIOT/cpu/native/netdev2_tap/netdev2_tap.c:32:9: error: '_POSIX_C_SOURCE' macro redefined [-Werror,-Wmacro-redefined]\r\n#define _POSIX_C_SOURCE\r\n        ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/sys/cdefs.h:637:9: note: previous definition is here\r\n#define _POSIX_C_SOURCE         200112L\r\n        ^\r\n1 error generated.\r\n```"},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/261081760","html_url":"https://github.com/RIOT-OS/RIOT/pull/6134#issuecomment-261081760","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/6134","id":261081760,"user":{"login":"kaspar030","id":4679640,"avatar_url":"https://avatars.githubusercontent.com/u/4679640?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspar030","html_url":"https://github.com/kaspar030","followers_url":"https://api.github.com/users/kaspar030/followers","following_url":"https://api.github.com/users/kaspar030/following{/other_user}","gists_url":"https://api.github.com/users/kaspar030/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspar030/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspar030/subscriptions","organizations_url":"https://api.github.com/users/kaspar030/orgs","repos_url":"https://api.github.com/users/kaspar030/repos","events_url":"https://api.github.com/users/kaspar030/events{/privacy}","received_events_url":"https://api.github.com/users/kaspar030/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T21:43:41Z","updated_at":"2016-11-16T21:43:41Z","body":"> In any case, #defining _POSIX_C_SOURCE in the .c file instead of the\n> command line is wrong.\n\n:+1:\n"}}
{"actor":{"display_login":"kaspar030"}}