{"action":"created","issue":{"url":"https://api.github.com/repos/felipejfc/xserver-xorg-input-synaptics/issues/3","labels_url":"https://api.github.com/repos/felipejfc/xserver-xorg-input-synaptics/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/felipejfc/xserver-xorg-input-synaptics/issues/3/comments","events_url":"https://api.github.com/repos/felipejfc/xserver-xorg-input-synaptics/issues/3/events","html_url":"https://github.com/felipejfc/xserver-xorg-input-synaptics/issues/3","id":94712741,"number":3,"title":"Make failing on Ubuntu 15.04","user":{"login":"amps211","id":793306,"avatar_url":"https://avatars.githubusercontent.com/u/793306?v=3","gravatar_id":"","url":"https://api.github.com/users/amps211","html_url":"https://github.com/amps211","followers_url":"https://api.github.com/users/amps211/followers","following_url":"https://api.github.com/users/amps211/following{/other_user}","gists_url":"https://api.github.com/users/amps211/gists{/gist_id}","starred_url":"https://api.github.com/users/amps211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amps211/subscriptions","organizations_url":"https://api.github.com/users/amps211/orgs","repos_url":"https://api.github.com/users/amps211/repos","events_url":"https://api.github.com/users/amps211/events{/privacy}","received_events_url":"https://api.github.com/users/amps211/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-13T12:44:24Z","updated_at":"2015-11-08T13:31:28Z","closed_at":null,"body":"```\r\nmake[2]: Entering directory '/home/jb/Projects/xserver-xorg-input-synaptics/src'\r\n  CC       synproto.lo\r\nIn file included from /usr/include/string.h:634:0,\r\n                 from /usr/include/xorg/os.h:53,\r\n                 from /usr/include/xorg/misc.h:115,\r\n                 from /usr/include/xorg/xf86str.h:37,\r\n                 from /usr/include/xorg/xf86.h:44,\r\n                 from /usr/include/xorg/xf86Xinput.h:54,\r\n                 from synproto.h:36,\r\n                 from synproto.c:24:\r\n/usr/include/xorg/os.h:541:1: error: expected identifier or '(' before '__extension__'\r\n strndup(const char *str, size_t n);\r\n ^\r\nMakefile:504: recipe for target 'synproto.lo' failed\r\nmake[2]: *** [synproto.lo] Error 1\r\nmake[2]: Leaving directory '/home/jb/Projects/xserver-xorg-input-synaptics/src'\r\n```\r\n\r\nLooks like os.h duplicates prototypes for some system functions unless xorg-server.h is included first, according to this discussion http://lists.x.org/archives/xorg-devel/2014-July/043067.html\r\n\r\n> Currently os.h cannot be included safely (without it creating duplicate\r\n> prototypes for system functions) without first including one of:\r\n> dix-config.h\r\n> xorg-server.h\r\n> xorg-config.h \r\n"},"comment":{"url":"https://api.github.com/repos/felipejfc/xserver-xorg-input-synaptics/issues/comments/154826652","html_url":"https://github.com/felipejfc/xserver-xorg-input-synaptics/issues/3#issuecomment-154826652","issue_url":"https://api.github.com/repos/felipejfc/xserver-xorg-input-synaptics/issues/3","id":154826652,"user":{"login":"Danmashel","id":13092349,"avatar_url":"https://avatars.githubusercontent.com/u/13092349?v=3","gravatar_id":"","url":"https://api.github.com/users/Danmashel","html_url":"https://github.com/Danmashel","followers_url":"https://api.github.com/users/Danmashel/followers","following_url":"https://api.github.com/users/Danmashel/following{/other_user}","gists_url":"https://api.github.com/users/Danmashel/gists{/gist_id}","starred_url":"https://api.github.com/users/Danmashel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danmashel/subscriptions","organizations_url":"https://api.github.com/users/Danmashel/orgs","repos_url":"https://api.github.com/users/Danmashel/repos","events_url":"https://api.github.com/users/Danmashel/events{/privacy}","received_events_url":"https://api.github.com/users/Danmashel/received_events","type":"User","site_admin":false},"created_at":"2015-11-08T13:31:28Z","updated_at":"2015-11-08T13:31:28Z","body":"Same issue in 15.10 under Gnome 3.16.4"}}