Skip to content

Conversation

@graphitemaster
Copy link

Headers should compile as if they were source code too. Without including stddef.h, linenoise.h cannot be included without first including something that exposes size_t. stddef.h is the least invasive way of doing this, other headers like stdio.h and string.h; while they may expose size_t are more invasive. This patch also fixes trailing whitespace in the license header as well.

@voithos
Copy link

voithos commented May 9, 2014

👍 I just ran into this issue also (it wasn't difficult to figure out or fix, of course, but the point is still valid).

@rain-1
Copy link

rain-1 commented May 15, 2018

Merged rain-1@1e4ea01 thank you

francisbouvier added a commit to lightpanda-io/zig-js-runtime that referenced this pull request Mar 10, 2023
antirez/linenoise does not seems maintened anymore.
Especially this issue is blocking antirez/linenoise#65

Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
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

Successfully merging this pull request may close these issues.

3 participants