Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

int8_t type not found #98

Closed
mei-rune opened this issue Apr 5, 2012 · 3 comments
Closed

int8_t type not found #98

mei-rune opened this issue Apr 5, 2012 · 3 comments

Comments

@mei-rune
Copy link

mei-rune commented Apr 5, 2012

这个不算bug, 在我的编译器中编译时会发生类型 int8_t 找不到错误, 原因是 src/ngx_http_lua_shdict.h 及其依赖的头文件中没有 include <stdint.h>, 可能不只是这一个地方有这个问题,其它文件也有可能有。因此我在ngx_http_lua_common.h 文件中添加了就好了。

@agentzh
Copy link
Member

agentzh commented Apr 7, 2012

这个当然算 bug,多谢报告!

agentzh added a commit that referenced this issue Apr 7, 2012
…or types like int8_t. now we explicitly included stdint.h. thanks runner-mei for reporting it in github issue #98.
@agentzh
Copy link
Member

agentzh commented Apr 7, 2012

我刚刚在 master 分支中提交了更动,在 common.h 中添加了对 stdint.h 的显式包含。能否在你本地再测试一下,看看问题是否解决?多谢!

@mei-rune
Copy link
Author

可以了, 谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants