{"action":"closed","issue":{"url":"https://api.github.com/repos/PromyLOPh/pianobar/issues/572","repository_url":"https://api.github.com/repos/PromyLOPh/pianobar","labels_url":"https://api.github.com/repos/PromyLOPh/pianobar/issues/572/labels{/name}","comments_url":"https://api.github.com/repos/PromyLOPh/pianobar/issues/572/comments","events_url":"https://api.github.com/repos/PromyLOPh/pianobar/issues/572/events","html_url":"https://github.com/PromyLOPh/pianobar/issues/572","id":129308799,"number":572,"title":"implicit declaration of function ‘getline’","user":{"login":"ryandesign","id":429209,"avatar_url":"https://avatars.githubusercontent.com/u/429209?v=3","gravatar_id":"","url":"https://api.github.com/users/ryandesign","html_url":"https://github.com/ryandesign","followers_url":"https://api.github.com/users/ryandesign/followers","following_url":"https://api.github.com/users/ryandesign/following{/other_user}","gists_url":"https://api.github.com/users/ryandesign/gists{/gist_id}","starred_url":"https://api.github.com/users/ryandesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryandesign/subscriptions","organizations_url":"https://api.github.com/users/ryandesign/orgs","repos_url":"https://api.github.com/users/ryandesign/repos","events_url":"https://api.github.com/users/ryandesign/events{/privacy}","received_events_url":"https://api.github.com/users/ryandesign/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PromyLOPh/pianobar/labels/won't%20fix","name":"won't fix","color":"0015ff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-28T00:09:51Z","updated_at":"2016-04-14T14:39:55Z","closed_at":"2016-04-14T14:39:55Z","body":"pianobar fails to build on OS X 10.6 (and presumably earlier versions) because it uses `getline` which was added in OS X 10.7.\r\n\r\nHere is a build log of the failure:\r\n\r\nhttps://build.macports.org/builders/buildports-snowleopard-x86_64/builds/40083/steps/compile/logs/stdio\r\n\r\nBut the relevant errors are:\r\n\r\n```\r\nsrc/settings.c:216: warning: implicit declaration of function ‘getline’\r\n```\r\n\r\n```\r\nUndefined symbols:\r\n  \"_getline\", referenced from:\r\n      _BarSettingsRead in settings.o\r\nld: symbol(s) not found\r\n```\r\n"}}