{"action":"opened","issue":{"url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/514","repository_url":"https://api.github.com/repos/tatsuhiro-t/nghttp2","labels_url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/514/labels{/name}","comments_url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/514/comments","events_url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/514/events","html_url":"https://github.com/tatsuhiro-t/nghttp2/issues/514","id":133925378,"number":514,"title":"conflicting declaration of 'int initgroups","user":{"login":"oparoz","id":323220,"avatar_url":"https://avatars.githubusercontent.com/u/323220?v=3","gravatar_id":"","url":"https://api.github.com/users/oparoz","html_url":"https://github.com/oparoz","followers_url":"https://api.github.com/users/oparoz/followers","following_url":"https://api.github.com/users/oparoz/following{/other_user}","gists_url":"https://api.github.com/users/oparoz/gists{/gist_id}","starred_url":"https://api.github.com/users/oparoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oparoz/subscriptions","organizations_url":"https://api.github.com/users/oparoz/orgs","repos_url":"https://api.github.com/users/oparoz/repos","events_url":"https://api.github.com/users/oparoz/events{/privacy}","received_events_url":"https://api.github.com/users/oparoz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-16T09:13:55Z","updated_at":"2016-02-16T09:13:55Z","closed_at":null,"body":"### Env\r\n\r\nFreeBSD 9\r\nGCC 4.9\r\n\r\n### Problem\r\n\r\n```\r\n  CXX      libnghttpx_a-shrpx_downstream_connection.o\r\nIn file included from util.h:31:0,\r\n                 from http2.h:40,\r\n                 from shrpx_downstream.h:41,\r\n                 from shrpx_downstream_connection.cc:28:\r\n/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.3/4.9.4/include-fixed/unistd.h:524:36: error: conflicting declaration of 'int initgroups(const char*, gid_t)' with 'C' linkage\r\n int  initgroups(const char *, gid_t);\r\n                                    ^\r\nIn file included from shrpx_downstream_connection.h:28:0,\r\n                 from shrpx_downstream_connection.cc:25:\r\nshrpx.h:48:12: note: previous declaration with 'C++' linkage\r\n inline int initgroups(const char *user, gid_t group) { return 0; }\r\n            ^\r\nMakefile:1640: recipe for target 'libnghttpx_a-shrpx_downstream_connection.o' failed\r\ngmake[3]: *** [libnghttpx_a-shrpx_downstream_connection.o] Error 1\r\n```\r\n\r\nReversing this commit makes it work again:\r\nhttps://github.com/tatsuhiro-t/nghttp2/commit/8919c8c139e3643d47fdd7dcd078453cb3be6f72\r\n"}}