{"action":"opened","number":253,"pull_request":{"url":"https://api.github.com/repos/unicorn-engine/unicorn/pulls/253","id":50038803,"html_url":"https://github.com/unicorn-engine/unicorn/pull/253","diff_url":"https://github.com/unicorn-engine/unicorn/pull/253.diff","patch_url":"https://github.com/unicorn-engine/unicorn/pull/253.patch","issue_url":"https://api.github.com/repos/unicorn-engine/unicorn/issues/253","number":253,"state":"open","locked":false,"title":"fix compilation with capstone next","user":{"login":"Nico01","id":5314006,"avatar_url":"https://avatars.githubusercontent.com/u/5314006?v=3","gravatar_id":"","url":"https://api.github.com/users/Nico01","html_url":"https://github.com/Nico01","followers_url":"https://api.github.com/users/Nico01/followers","following_url":"https://api.github.com/users/Nico01/following{/other_user}","gists_url":"https://api.github.com/users/Nico01/gists{/gist_id}","starred_url":"https://api.github.com/users/Nico01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nico01/subscriptions","organizations_url":"https://api.github.com/users/Nico01/orgs","repos_url":"https://api.github.com/users/Nico01/repos","events_url":"https://api.github.com/users/Nico01/events{/privacy}","received_events_url":"https://api.github.com/users/Nico01/received_events","type":"User","site_admin":false},"body":"Fix this error:\r\n```\r\nIn file included from ./unicorn_capstone.c:6:\r\nIn file included from /usr/include/capstone/capstone.h:242:\r\n/usr/include/capstone/m68k.h:21:14: error: redefinition of 'm68k_reg'\r\ntypedef enum m68k_reg {\r\n             ^\r\n/usr/include/unicorn/m68k.h:19:14: note: previous definition is here\r\ntypedef enum m68k_reg {\r\n             ^\r\nIn file included from ./unicorn_capstone.c:6:\r\nIn file included from /usr/include/capstone/capstone.h:242:\r\n/usr/include/capstone/m68k.h:77:3: error: typedef redefinition with different\r\n      types ('enum m68k_reg' (aka 'm68k_reg') vs 'enum m68k_reg')\r\n} m68k_reg;\r\n  ^\r\n/usr/include/unicorn/m68k.h:44:3: note: previous definition is here\r\n} m68k_reg;\r\n  ^\r\n2 errors generated.\r\n```","created_at":"2015-11-07T16:02:21Z","updated_at":"2015-11-07T16:02:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/unicorn-engine/unicorn/pulls/253/commits","review_comments_url":"https://api.github.com/repos/unicorn-engine/unicorn/pulls/253/comments","review_comment_url":"https://api.github.com/repos/unicorn-engine/unicorn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/unicorn-engine/unicorn/issues/253/comments","statuses_url":"https://api.github.com/repos/unicorn-engine/unicorn/statuses/4127179fe3d8914cc3f2865e4a5c4e4fae78b15e","head":{"label":"Nico01:master","ref":"master","sha":"4127179fe3d8914cc3f2865e4a5c4e4fae78b15e","user":{"login":"Nico01","id":5314006,"avatar_url":"https://avatars.githubusercontent.com/u/5314006?v=3","gravatar_id":"","url":"https://api.github.com/users/Nico01","html_url":"https://github.com/Nico01","followers_url":"https://api.github.com/users/Nico01/followers","following_url":"https://api.github.com/users/Nico01/following{/other_user}","gists_url":"https://api.github.com/users/Nico01/gists{/gist_id}","starred_url":"https://api.github.com/users/Nico01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nico01/subscriptions","organizations_url":"https://api.github.com/users/Nico01/orgs","repos_url":"https://api.github.com/users/Nico01/repos","events_url":"https://api.github.com/users/Nico01/events{/privacy}","received_events_url":"https://api.github.com/users/Nico01/received_events","type":"User","site_admin":false},"repo":{"id":45742793,"name":"unicorn","full_name":"Nico01/unicorn","owner":{"login":"Nico01","id":5314006,"avatar_url":"https://avatars.githubusercontent.com/u/5314006?v=3","gravatar_id":"","url":"https://api.github.com/users/Nico01","html_url":"https://github.com/Nico01","followers_url":"https://api.github.com/users/Nico01/followers","following_url":"https://api.github.com/users/Nico01/following{/other_user}","gists_url":"https://api.github.com/users/Nico01/gists{/gist_id}","starred_url":"https://api.github.com/users/Nico01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nico01/subscriptions","organizations_url":"https://api.github.com/users/Nico01/orgs","repos_url":"https://api.github.com/users/Nico01/repos","events_url":"https://api.github.com/users/Nico01/events{/privacy}","received_events_url":"https://api.github.com/users/Nico01/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Nico01/unicorn","description":"Unicorn CPU emulator engine","fork":true,"url":"https://api.github.com/repos/Nico01/unicorn","forks_url":"https://api.github.com/repos/Nico01/unicorn/forks","keys_url":"https://api.github.com/repos/Nico01/unicorn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nico01/unicorn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nico01/unicorn/teams","hooks_url":"https://api.github.com/repos/Nico01/unicorn/hooks","issue_events_url":"https://api.github.com/repos/Nico01/unicorn/issues/events{/number}","events_url":"https://api.github.com/repos/Nico01/unicorn/events","assignees_url":"https://api.github.com/repos/Nico01/unicorn/assignees{/user}","branches_url":"https://api.github.com/repos/Nico01/unicorn/branches{/branch}","tags_url":"https://api.github.com/repos/Nico01/unicorn/tags","blobs_url":"https://api.github.com/repos/Nico01/unicorn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nico01/unicorn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nico01/unicorn/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nico01/unicorn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nico01/unicorn/statuses/{sha}","languages_url":"https://api.github.com/repos/Nico01/unicorn/languages","stargazers_url":"https://api.github.com/repos/Nico01/unicorn/stargazers","contributors_url":"https://api.github.com/repos/Nico01/unicorn/contributors","subscribers_url":"https://api.github.com/repos/Nico01/unicorn/subscribers","subscription_url":"https://api.github.com/repos/Nico01/unicorn/subscription","commits_url":"https://api.github.com/repos/Nico01/unicorn/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nico01/unicorn/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nico01/unicorn/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nico01/unicorn/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nico01/unicorn/contents/{+path}","compare_url":"https://api.github.com/repos/Nico01/unicorn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nico01/unicorn/merges","archive_url":"https://api.github.com/repos/Nico01/unicorn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nico01/unicorn/downloads","issues_url":"https://api.github.com/repos/Nico01/unicorn/issues{/number}","pulls_url":"https://api.github.com/repos/Nico01/unicorn/pulls{/number}","milestones_url":"https://api.github.com/repos/Nico01/unicorn/milestones{/number}","notifications_url":"https://api.github.com/repos/Nico01/unicorn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nico01/unicorn/labels{/name}","releases_url":"https://api.github.com/repos/Nico01/unicorn/releases{/id}","created_at":"2015-11-07T15:51:38Z","updated_at":"2015-11-07T15:51:42Z","pushed_at":"2015-11-07T15:56:20Z","git_url":"git://github.com/Nico01/unicorn.git","ssh_url":"git@github.com:Nico01/unicorn.git","clone_url":"https://github.com/Nico01/unicorn.git","svn_url":"https://github.com/Nico01/unicorn","homepage":"http://www.unicorn-engine.org","size":4540,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"unicorn-engine:master","ref":"master","sha":"938d0b89ebc4adf9e1acc1750a3400a2acce0769","user":{"login":"unicorn-engine","id":13391512,"avatar_url":"https://avatars.githubusercontent.com/u/13391512?v=3","gravatar_id":"","url":"https://api.github.com/users/unicorn-engine","html_url":"https://github.com/unicorn-engine","followers_url":"https://api.github.com/users/unicorn-engine/followers","following_url":"https://api.github.com/users/unicorn-engine/following{/other_user}","gists_url":"https://api.github.com/users/unicorn-engine/gists{/gist_id}","starred_url":"https://api.github.com/users/unicorn-engine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unicorn-engine/subscriptions","organizations_url":"https://api.github.com/users/unicorn-engine/orgs","repos_url":"https://api.github.com/users/unicorn-engine/repos","events_url":"https://api.github.com/users/unicorn-engine/events{/privacy}","received_events_url":"https://api.github.com/users/unicorn-engine/received_events","type":"Organization","site_admin":false},"repo":{"id":41107037,"name":"unicorn","full_name":"unicorn-engine/unicorn","owner":{"login":"unicorn-engine","id":13391512,"avatar_url":"https://avatars.githubusercontent.com/u/13391512?v=3","gravatar_id":"","url":"https://api.github.com/users/unicorn-engine","html_url":"https://github.com/unicorn-engine","followers_url":"https://api.github.com/users/unicorn-engine/followers","following_url":"https://api.github.com/users/unicorn-engine/following{/other_user}","gists_url":"https://api.github.com/users/unicorn-engine/gists{/gist_id}","starred_url":"https://api.github.com/users/unicorn-engine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unicorn-engine/subscriptions","organizations_url":"https://api.github.com/users/unicorn-engine/orgs","repos_url":"https://api.github.com/users/unicorn-engine/repos","events_url":"https://api.github.com/users/unicorn-engine/events{/privacy}","received_events_url":"https://api.github.com/users/unicorn-engine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/unicorn-engine/unicorn","description":"Unicorn CPU emulator engine","fork":false,"url":"https://api.github.com/repos/unicorn-engine/unicorn","forks_url":"https://api.github.com/repos/unicorn-engine/unicorn/forks","keys_url":"https://api.github.com/repos/unicorn-engine/unicorn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unicorn-engine/unicorn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unicorn-engine/unicorn/teams","hooks_url":"https://api.github.com/repos/unicorn-engine/unicorn/hooks","issue_events_url":"https://api.github.com/repos/unicorn-engine/unicorn/issues/events{/number}","events_url":"https://api.github.com/repos/unicorn-engine/unicorn/events","assignees_url":"https://api.github.com/repos/unicorn-engine/unicorn/assignees{/user}","branches_url":"https://api.github.com/repos/unicorn-engine/unicorn/branches{/branch}","tags_url":"https://api.github.com/repos/unicorn-engine/unicorn/tags","blobs_url":"https://api.github.com/repos/unicorn-engine/unicorn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unicorn-engine/unicorn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unicorn-engine/unicorn/git/refs{/sha}","trees_url":"https://api.github.com/repos/unicorn-engine/unicorn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unicorn-engine/unicorn/statuses/{sha}","languages_url":"https://api.github.com/repos/unicorn-engine/unicorn/languages","stargazers_url":"https://api.github.com/repos/unicorn-engine/unicorn/stargazers","contributors_url":"https://api.github.com/repos/unicorn-engine/unicorn/contributors","subscribers_url":"https://api.github.com/repos/unicorn-engine/unicorn/subscribers","subscription_url":"https://api.github.com/repos/unicorn-engine/unicorn/subscription","commits_url":"https://api.github.com/repos/unicorn-engine/unicorn/commits{/sha}","git_commits_url":"https://api.github.com/repos/unicorn-engine/unicorn/git/commits{/sha}","comments_url":"https://api.github.com/repos/unicorn-engine/unicorn/comments{/number}","issue_comment_url":"https://api.github.com/repos/unicorn-engine/unicorn/issues/comments{/number}","contents_url":"https://api.github.com/repos/unicorn-engine/unicorn/contents/{+path}","compare_url":"https://api.github.com/repos/unicorn-engine/unicorn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unicorn-engine/unicorn/merges","archive_url":"https://api.github.com/repos/unicorn-engine/unicorn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unicorn-engine/unicorn/downloads","issues_url":"https://api.github.com/repos/unicorn-engine/unicorn/issues{/number}","pulls_url":"https://api.github.com/repos/unicorn-engine/unicorn/pulls{/number}","milestones_url":"https://api.github.com/repos/unicorn-engine/unicorn/milestones{/number}","notifications_url":"https://api.github.com/repos/unicorn-engine/unicorn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unicorn-engine/unicorn/labels{/name}","releases_url":"https://api.github.com/repos/unicorn-engine/unicorn/releases{/id}","created_at":"2015-08-20T16:35:45Z","updated_at":"2015-11-06T22:21:42Z","pushed_at":"2015-11-06T17:03:36Z","git_url":"git://github.com/unicorn-engine/unicorn.git","ssh_url":"git@github.com:unicorn-engine/unicorn.git","clone_url":"https://github.com/unicorn-engine/unicorn.git","svn_url":"https://github.com/unicorn-engine/unicorn","homepage":"http://www.unicorn-engine.org","size":4540,"stargazers_count":373,"watchers_count":373,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":41,"forks":50,"open_issues":41,"watchers":373,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/unicorn-engine/unicorn/pulls/253"},"html":{"href":"https://github.com/unicorn-engine/unicorn/pull/253"},"issue":{"href":"https://api.github.com/repos/unicorn-engine/unicorn/issues/253"},"comments":{"href":"https://api.github.com/repos/unicorn-engine/unicorn/issues/253/comments"},"review_comments":{"href":"https://api.github.com/repos/unicorn-engine/unicorn/pulls/253/comments"},"review_comment":{"href":"https://api.github.com/repos/unicorn-engine/unicorn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/unicorn-engine/unicorn/pulls/253/commits"},"statuses":{"href":"https://api.github.com/repos/unicorn-engine/unicorn/statuses/4127179fe3d8914cc3f2865e4a5c4e4fae78b15e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}