{"action":"closed","issue":{"url":"https://api.github.com/repos/ticki/termion/issues/35","repository_url":"https://api.github.com/repos/ticki/termion","labels_url":"https://api.github.com/repos/ticki/termion/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/ticki/termion/issues/35/comments","events_url":"https://api.github.com/repos/ticki/termion/issues/35/events","html_url":"https://github.com/ticki/termion/issues/35","id":167242773,"number":35,"title":"Seeing libc errors with sample","user":{"login":"jonathandturner","id":547158,"avatar_url":"https://avatars.githubusercontent.com/u/547158?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathandturner","html_url":"https://github.com/jonathandturner","followers_url":"https://api.github.com/users/jonathandturner/followers","following_url":"https://api.github.com/users/jonathandturner/following{/other_user}","gists_url":"https://api.github.com/users/jonathandturner/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathandturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathandturner/subscriptions","organizations_url":"https://api.github.com/users/jonathandturner/orgs","repos_url":"https://api.github.com/users/jonathandturner/repos","events_url":"https://api.github.com/users/jonathandturner/events{/privacy}","received_events_url":"https://api.github.com/users/jonathandturner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-24T17:04:37Z","updated_at":"2016-07-24T19:45:23Z","closed_at":"2016-07-24T19:45:23Z","body":"When I try to compile your first example, I see:\r\n\r\n```\r\nerror[E0432]: unresolved import `libc::termios`. There is no `termios` in `libc`\r\n --> C:\\Users\\jont\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\termion-1.0.0\\src\\termios.rs:4:9\r\n  |\r\n4 | pub use libc::termios as Termios;\r\n  |         ^^^^^^^^^^^^^^^^^^^^^^^^\r\n\r\nerror[E0432]: unresolved import `libc::ioctl`. There is no `ioctl` in `libc`\r\n  --> C:\\Users\\jont\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\termion-1.0.0\\src\\size.rs:33:9\r\n   |\r\n33 |     use libc::ioctl;\r\n   |         ^^^^^^^^^^^\r\n...\r\n```\r\n\r\nIs there something I need to do to get libc also compiling?  I'm trying to build this on Windows, if that also has an impact."}}
{"actor":{"display_login":"jonathandturner"}}