{"action":"created","issue":{"url":"https://api.github.com/repos/keplerproject/luarocks/issues/536","repository_url":"https://api.github.com/repos/keplerproject/luarocks","labels_url":"https://api.github.com/repos/keplerproject/luarocks/issues/536/labels{/name}","comments_url":"https://api.github.com/repos/keplerproject/luarocks/issues/536/comments","events_url":"https://api.github.com/repos/keplerproject/luarocks/issues/536/events","html_url":"https://github.com/keplerproject/luarocks/issues/536","id":146167018,"number":536,"title":"#include <lua.h> vs #include \"lua.h\"","user":{"login":"daurnimator","id":127971,"avatar_url":"https://avatars.githubusercontent.com/u/127971?v=3","gravatar_id":"","url":"https://api.github.com/users/daurnimator","html_url":"https://github.com/daurnimator","followers_url":"https://api.github.com/users/daurnimator/followers","following_url":"https://api.github.com/users/daurnimator/following{/other_user}","gists_url":"https://api.github.com/users/daurnimator/gists{/gist_id}","starred_url":"https://api.github.com/users/daurnimator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daurnimator/subscriptions","organizations_url":"https://api.github.com/users/daurnimator/orgs","repos_url":"https://api.github.com/users/daurnimator/repos","events_url":"https://api.github.com/users/daurnimator/events{/privacy}","received_events_url":"https://api.github.com/users/daurnimator/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-06T02:22:08Z","updated_at":"2016-04-06T13:34:13Z","closed_at":null,"body":"Should C modules use `#include <lua.h>` or `#include \"lua.h\"`?\r\n`LUA_INCDIR` seems to exist to enable the latter."},"comment":{"url":"https://api.github.com/repos/keplerproject/luarocks/issues/comments/206375956","html_url":"https://github.com/keplerproject/luarocks/issues/536#issuecomment-206375956","issue_url":"https://api.github.com/repos/keplerproject/luarocks/issues/536","id":206375956,"user":{"login":"siffiejoe","id":930147,"avatar_url":"https://avatars.githubusercontent.com/u/930147?v=3","gravatar_id":"","url":"https://api.github.com/users/siffiejoe","html_url":"https://github.com/siffiejoe","followers_url":"https://api.github.com/users/siffiejoe/followers","following_url":"https://api.github.com/users/siffiejoe/following{/other_user}","gists_url":"https://api.github.com/users/siffiejoe/gists{/gist_id}","starred_url":"https://api.github.com/users/siffiejoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siffiejoe/subscriptions","organizations_url":"https://api.github.com/users/siffiejoe/orgs","repos_url":"https://api.github.com/users/siffiejoe/repos","events_url":"https://api.github.com/users/siffiejoe/events{/privacy}","received_events_url":"https://api.github.com/users/siffiejoe/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T13:34:13Z","updated_at":"2016-04-06T13:34:13Z","body":"> Why would a lua module ever bring it's own lua.h?\r\n\r\nI maintain two rocks that bundle some of Lua's source and header files (not `lua.h`, though):\r\nhttps://github.com/siffiejoe/lua-getsize\r\nhttps://github.com/siffiejoe/lua-lbci\r\n\r\n> Actually I had an issue where my LUA_INCDIR was /usr/include, but I didn't want to include the /usr/include directory for other reasons..... from there I started wondering.\r\n\r\nWhy? Somehow the compiler needs to find the Lua include files, and `/usr/include` probably is in your compiler's default search path anyway."}}