{"action":"closed","issue":{"url":"https://api.github.com/repos/baruch/diskscan/issues/45","labels_url":"https://api.github.com/repos/baruch/diskscan/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/baruch/diskscan/issues/45/comments","events_url":"https://api.github.com/repos/baruch/diskscan/issues/45/events","html_url":"https://github.com/baruch/diskscan/issues/45","id":113578955,"number":45,"title":"Compilation error on FreeBSD 10.2","user":{"login":"jdn06","id":10921755,"avatar_url":"https://avatars.githubusercontent.com/u/10921755?v=3","gravatar_id":"","url":"https://api.github.com/users/jdn06","html_url":"https://github.com/jdn06","followers_url":"https://api.github.com/users/jdn06/followers","following_url":"https://api.github.com/users/jdn06/following{/other_user}","gists_url":"https://api.github.com/users/jdn06/gists{/gist_id}","starred_url":"https://api.github.com/users/jdn06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdn06/subscriptions","organizations_url":"https://api.github.com/users/jdn06/orgs","repos_url":"https://api.github.com/users/jdn06/repos","events_url":"https://api.github.com/users/jdn06/events{/privacy}","received_events_url":"https://api.github.com/users/jdn06/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/baruch/diskscan/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-27T13:04:17Z","updated_at":"2015-10-27T19:22:05Z","closed_at":"2015-10-27T19:22:05Z","body":"I tried to compile on FreeBSD 10.2 with;\r\n- clang version 3.4.1\r\n- python 2.7\r\n- ninja-1.6.0\r\n\r\nI had the following error:\r\n```\r\narch/arch-posix.c:80:6: error: redefinition of 'disk_dev_cdb_in'\r\nvoid disk_dev_cdb_in(disk_dev_t *dev, unsigned char *cdb, unsigned cdb_len, unsigned char *buf, unsigned buf_size, unsigned *buf_read, unsigned char *sense, unsigned sense_size, unsigned *sense_read, io_result_t *io_res)\r\n     ^\r\narch/arch-posix.c:73:6: note: previous definition is here\r\nvoid disk_dev_cdb_in(disk_dev_t *dev, unsigned char *cdb, unsigned cdb_len, unsigned char *buf, unsigned buf_size, unsigned *buf_read, unsigned char *sense, unsigned sense_size, unsigned *sense_read, io_result_t *io_res)\r\n     ^\r\n```"}}