{"action":"created","issue":{"url":"https://api.github.com/repos/giampaolo/psutil/issues/659","labels_url":"https://api.github.com/repos/giampaolo/psutil/issues/659/labels{/name}","comments_url":"https://api.github.com/repos/giampaolo/psutil/issues/659/comments","events_url":"https://api.github.com/repos/giampaolo/psutil/issues/659/events","html_url":"https://github.com/giampaolo/psutil/issues/659","id":96827306,"number":659,"title":"compilation error in psutil/_psutil_linux.c when including ethtool.h","user":{"login":"maozguttman","id":13469357,"avatar_url":"https://avatars.githubusercontent.com/u/13469357?v=3","gravatar_id":"","url":"https://api.github.com/users/maozguttman","html_url":"https://github.com/maozguttman","followers_url":"https://api.github.com/users/maozguttman/followers","following_url":"https://api.github.com/users/maozguttman/following{/other_user}","gists_url":"https://api.github.com/users/maozguttman/gists{/gist_id}","starred_url":"https://api.github.com/users/maozguttman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maozguttman/subscriptions","organizations_url":"https://api.github.com/users/maozguttman/orgs","repos_url":"https://api.github.com/users/maozguttman/repos","events_url":"https://api.github.com/users/maozguttman/events{/privacy}","received_events_url":"https://api.github.com/users/maozguttman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-23T14:26:56Z","updated_at":"2015-07-23T14:39:55Z","closed_at":null,"body":"Hi,\r\n\r\nI was trying to build psutil 3.1.1 and got compilation errors from psutil/_psutil_linux.c:\r\n  /usr/include/linux/ethtool.h:18:2: error: expected specifier-qualifier-list before 'u32'\r\nThe problem is that u32 is undefined in /usr/include/linux/ethtool.h.\r\nethtool.h looks like: https://www.kernel.org/pub/linux/kernel/people/marcelo/linux-2.4/include/linux/ethtool.h\r\nIt has no #include statements in it.\r\n\r\nI am using: SUSE 10, Kernel 2.6.16.60\r\n\r\nThanks,\r\nMaoz"},"comment":{"url":"https://api.github.com/repos/giampaolo/psutil/issues/comments/124127430","html_url":"https://github.com/giampaolo/psutil/issues/659#issuecomment-124127430","issue_url":"https://api.github.com/repos/giampaolo/psutil/issues/659","id":124127430,"user":{"login":"giampaolo","id":681260,"avatar_url":"https://avatars.githubusercontent.com/u/681260?v=3","gravatar_id":"","url":"https://api.github.com/users/giampaolo","html_url":"https://github.com/giampaolo","followers_url":"https://api.github.com/users/giampaolo/followers","following_url":"https://api.github.com/users/giampaolo/following{/other_user}","gists_url":"https://api.github.com/users/giampaolo/gists{/gist_id}","starred_url":"https://api.github.com/users/giampaolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giampaolo/subscriptions","organizations_url":"https://api.github.com/users/giampaolo/orgs","repos_url":"https://api.github.com/users/giampaolo/repos","events_url":"https://api.github.com/users/giampaolo/events{/privacy}","received_events_url":"https://api.github.com/users/giampaolo/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T14:39:55Z","updated_at":"2015-07-23T14:39:55Z","body":"can you provide a patch / PR?"}}