{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/troglobit/editline/pulls/4","id":44392398,"html_url":"https://github.com/troglobit/editline/pull/4","diff_url":"https://github.com/troglobit/editline/pull/4.diff","patch_url":"https://github.com/troglobit/editline/pull/4.patch","issue_url":"https://api.github.com/repos/troglobit/editline/issues/4","number":4,"state":"open","locked":false,"title":"Include sys/ioctl.h before calling ioctl()","user":{"login":"C0deH4cker","id":1310775,"avatar_url":"https://avatars.githubusercontent.com/u/1310775?v=3","gravatar_id":"","url":"https://api.github.com/users/C0deH4cker","html_url":"https://github.com/C0deH4cker","followers_url":"https://api.github.com/users/C0deH4cker/followers","following_url":"https://api.github.com/users/C0deH4cker/following{/other_user}","gists_url":"https://api.github.com/users/C0deH4cker/gists{/gist_id}","starred_url":"https://api.github.com/users/C0deH4cker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/C0deH4cker/subscriptions","organizations_url":"https://api.github.com/users/C0deH4cker/orgs","repos_url":"https://api.github.com/users/C0deH4cker/repos","events_url":"https://api.github.com/users/C0deH4cker/events{/privacy}","received_events_url":"https://api.github.com/users/C0deH4cker/received_events","type":"User","site_admin":false},"body":"At least when building with Clang on OS X, there is an error on [line 1120 of editline.c](https://github.com/troglobit/editline/blob/master/src/editline.c#L1120) caused by using the `ioctl()` function without first declaring it by including its header (`<sys/ioctl.h>`). Adding this line makes the build complete without error.","created_at":"2015-09-08T04:39:24Z","updated_at":"2015-09-08T04:39:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/troglobit/editline/pulls/4/commits","review_comments_url":"https://api.github.com/repos/troglobit/editline/pulls/4/comments","review_comment_url":"https://api.github.com/repos/troglobit/editline/pulls/comments{/number}","comments_url":"https://api.github.com/repos/troglobit/editline/issues/4/comments","statuses_url":"https://api.github.com/repos/troglobit/editline/statuses/cb06c50d32c151f527fb21e82dfac5dbdc88fedb","head":{"label":"C0deH4cker:patch-1","ref":"patch-1","sha":"cb06c50d32c151f527fb21e82dfac5dbdc88fedb","user":{"login":"C0deH4cker","id":1310775,"avatar_url":"https://avatars.githubusercontent.com/u/1310775?v=3","gravatar_id":"","url":"https://api.github.com/users/C0deH4cker","html_url":"https://github.com/C0deH4cker","followers_url":"https://api.github.com/users/C0deH4cker/followers","following_url":"https://api.github.com/users/C0deH4cker/following{/other_user}","gists_url":"https://api.github.com/users/C0deH4cker/gists{/gist_id}","starred_url":"https://api.github.com/users/C0deH4cker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/C0deH4cker/subscriptions","organizations_url":"https://api.github.com/users/C0deH4cker/orgs","repos_url":"https://api.github.com/users/C0deH4cker/repos","events_url":"https://api.github.com/users/C0deH4cker/events{/privacy}","received_events_url":"https://api.github.com/users/C0deH4cker/received_events","type":"User","site_admin":false},"repo":{"id":42090234,"name":"editline","full_name":"C0deH4cker/editline","owner":{"login":"C0deH4cker","id":1310775,"avatar_url":"https://avatars.githubusercontent.com/u/1310775?v=3","gravatar_id":"","url":"https://api.github.com/users/C0deH4cker","html_url":"https://github.com/C0deH4cker","followers_url":"https://api.github.com/users/C0deH4cker/followers","following_url":"https://api.github.com/users/C0deH4cker/following{/other_user}","gists_url":"https://api.github.com/users/C0deH4cker/gists{/gist_id}","starred_url":"https://api.github.com/users/C0deH4cker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/C0deH4cker/subscriptions","organizations_url":"https://api.github.com/users/C0deH4cker/orgs","repos_url":"https://api.github.com/users/C0deH4cker/repos","events_url":"https://api.github.com/users/C0deH4cker/events{/privacy}","received_events_url":"https://api.github.com/users/C0deH4cker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/C0deH4cker/editline","description":"Minix editline: A free readline() for UNIX/Linux that works without ncurses!","fork":true,"url":"https://api.github.com/repos/C0deH4cker/editline","forks_url":"https://api.github.com/repos/C0deH4cker/editline/forks","keys_url":"https://api.github.com/repos/C0deH4cker/editline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/C0deH4cker/editline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/C0deH4cker/editline/teams","hooks_url":"https://api.github.com/repos/C0deH4cker/editline/hooks","issue_events_url":"https://api.github.com/repos/C0deH4cker/editline/issues/events{/number}","events_url":"https://api.github.com/repos/C0deH4cker/editline/events","assignees_url":"https://api.github.com/repos/C0deH4cker/editline/assignees{/user}","branches_url":"https://api.github.com/repos/C0deH4cker/editline/branches{/branch}","tags_url":"https://api.github.com/repos/C0deH4cker/editline/tags","blobs_url":"https://api.github.com/repos/C0deH4cker/editline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/C0deH4cker/editline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/C0deH4cker/editline/git/refs{/sha}","trees_url":"https://api.github.com/repos/C0deH4cker/editline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/C0deH4cker/editline/statuses/{sha}","languages_url":"https://api.github.com/repos/C0deH4cker/editline/languages","stargazers_url":"https://api.github.com/repos/C0deH4cker/editline/stargazers","contributors_url":"https://api.github.com/repos/C0deH4cker/editline/contributors","subscribers_url":"https://api.github.com/repos/C0deH4cker/editline/subscribers","subscription_url":"https://api.github.com/repos/C0deH4cker/editline/subscription","commits_url":"https://api.github.com/repos/C0deH4cker/editline/commits{/sha}","git_commits_url":"https://api.github.com/repos/C0deH4cker/editline/git/commits{/sha}","comments_url":"https://api.github.com/repos/C0deH4cker/editline/comments{/number}","issue_comment_url":"https://api.github.com/repos/C0deH4cker/editline/issues/comments{/number}","contents_url":"https://api.github.com/repos/C0deH4cker/editline/contents/{+path}","compare_url":"https://api.github.com/repos/C0deH4cker/editline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/C0deH4cker/editline/merges","archive_url":"https://api.github.com/repos/C0deH4cker/editline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/C0deH4cker/editline/downloads","issues_url":"https://api.github.com/repos/C0deH4cker/editline/issues{/number}","pulls_url":"https://api.github.com/repos/C0deH4cker/editline/pulls{/number}","milestones_url":"https://api.github.com/repos/C0deH4cker/editline/milestones{/number}","notifications_url":"https://api.github.com/repos/C0deH4cker/editline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/C0deH4cker/editline/labels{/name}","releases_url":"https://api.github.com/repos/C0deH4cker/editline/releases{/id}","created_at":"2015-09-08T04:36:33Z","updated_at":"2015-09-08T04:36:34Z","pushed_at":"2015-09-08T04:39:00Z","git_url":"git://github.com/C0deH4cker/editline.git","ssh_url":"git@github.com:C0deH4cker/editline.git","clone_url":"https://github.com/C0deH4cker/editline.git","svn_url":"https://github.com/C0deH4cker/editline","homepage":"http://troglobit.com/editline.html","size":1430,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"troglobit:master","ref":"master","sha":"256e2883317386e773957af5382f2df5885ea47f","user":{"login":"troglobit","id":183517,"avatar_url":"https://avatars.githubusercontent.com/u/183517?v=3","gravatar_id":"","url":"https://api.github.com/users/troglobit","html_url":"https://github.com/troglobit","followers_url":"https://api.github.com/users/troglobit/followers","following_url":"https://api.github.com/users/troglobit/following{/other_user}","gists_url":"https://api.github.com/users/troglobit/gists{/gist_id}","starred_url":"https://api.github.com/users/troglobit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troglobit/subscriptions","organizations_url":"https://api.github.com/users/troglobit/orgs","repos_url":"https://api.github.com/users/troglobit/repos","events_url":"https://api.github.com/users/troglobit/events{/privacy}","received_events_url":"https://api.github.com/users/troglobit/received_events","type":"User","site_admin":false},"repo":{"id":797112,"name":"editline","full_name":"troglobit/editline","owner":{"login":"troglobit","id":183517,"avatar_url":"https://avatars.githubusercontent.com/u/183517?v=3","gravatar_id":"","url":"https://api.github.com/users/troglobit","html_url":"https://github.com/troglobit","followers_url":"https://api.github.com/users/troglobit/followers","following_url":"https://api.github.com/users/troglobit/following{/other_user}","gists_url":"https://api.github.com/users/troglobit/gists{/gist_id}","starred_url":"https://api.github.com/users/troglobit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troglobit/subscriptions","organizations_url":"https://api.github.com/users/troglobit/orgs","repos_url":"https://api.github.com/users/troglobit/repos","events_url":"https://api.github.com/users/troglobit/events{/privacy}","received_events_url":"https://api.github.com/users/troglobit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/troglobit/editline","description":"Minix editline: A free readline() for UNIX/Linux that works without ncurses!","fork":false,"url":"https://api.github.com/repos/troglobit/editline","forks_url":"https://api.github.com/repos/troglobit/editline/forks","keys_url":"https://api.github.com/repos/troglobit/editline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/troglobit/editline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/troglobit/editline/teams","hooks_url":"https://api.github.com/repos/troglobit/editline/hooks","issue_events_url":"https://api.github.com/repos/troglobit/editline/issues/events{/number}","events_url":"https://api.github.com/repos/troglobit/editline/events","assignees_url":"https://api.github.com/repos/troglobit/editline/assignees{/user}","branches_url":"https://api.github.com/repos/troglobit/editline/branches{/branch}","tags_url":"https://api.github.com/repos/troglobit/editline/tags","blobs_url":"https://api.github.com/repos/troglobit/editline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/troglobit/editline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/troglobit/editline/git/refs{/sha}","trees_url":"https://api.github.com/repos/troglobit/editline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/troglobit/editline/statuses/{sha}","languages_url":"https://api.github.com/repos/troglobit/editline/languages","stargazers_url":"https://api.github.com/repos/troglobit/editline/stargazers","contributors_url":"https://api.github.com/repos/troglobit/editline/contributors","subscribers_url":"https://api.github.com/repos/troglobit/editline/subscribers","subscription_url":"https://api.github.com/repos/troglobit/editline/subscription","commits_url":"https://api.github.com/repos/troglobit/editline/commits{/sha}","git_commits_url":"https://api.github.com/repos/troglobit/editline/git/commits{/sha}","comments_url":"https://api.github.com/repos/troglobit/editline/comments{/number}","issue_comment_url":"https://api.github.com/repos/troglobit/editline/issues/comments{/number}","contents_url":"https://api.github.com/repos/troglobit/editline/contents/{+path}","compare_url":"https://api.github.com/repos/troglobit/editline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/troglobit/editline/merges","archive_url":"https://api.github.com/repos/troglobit/editline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/troglobit/editline/downloads","issues_url":"https://api.github.com/repos/troglobit/editline/issues{/number}","pulls_url":"https://api.github.com/repos/troglobit/editline/pulls{/number}","milestones_url":"https://api.github.com/repos/troglobit/editline/milestones{/number}","notifications_url":"https://api.github.com/repos/troglobit/editline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/troglobit/editline/labels{/name}","releases_url":"https://api.github.com/repos/troglobit/editline/releases{/id}","created_at":"2010-07-25T21:06:05Z","updated_at":"2015-08-25T16:18:12Z","pushed_at":"2015-09-08T04:39:24Z","git_url":"git://github.com/troglobit/editline.git","ssh_url":"git@github.com:troglobit/editline.git","clone_url":"https://github.com/troglobit/editline.git","svn_url":"https://github.com/troglobit/editline","homepage":"http://troglobit.com/editline.html","size":1430,"stargazers_count":15,"watchers_count":15,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/troglobit/editline/pulls/4"},"html":{"href":"https://github.com/troglobit/editline/pull/4"},"issue":{"href":"https://api.github.com/repos/troglobit/editline/issues/4"},"comments":{"href":"https://api.github.com/repos/troglobit/editline/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/troglobit/editline/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/troglobit/editline/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/troglobit/editline/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/troglobit/editline/statuses/cb06c50d32c151f527fb21e82dfac5dbdc88fedb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}