-
Notifications
You must be signed in to change notification settings - Fork 2k
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
sys,examples,tests,fuzzing: add missing includes #17714
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK, just header cleanups
@@ -27,8 +27,6 @@ | |||
|
|||
#include "mbox.h" | |||
#include "net/af.h" | |||
#include "net/gnrc.h" | |||
#include "net/gnrc/tcp.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now this breaks the sock TCP example
net/sock/tcp.h
is supposed to include sock_types.h
which is then a stack specific header.
Unfortunately we don't have a sock tcp application to catch this on CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, good that you cought it and fixed it with #16723, which will also be a good check to avoid this happening again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tbh I thought #16739 would be less controversial way to get a (compile) test for a generic sock TCP but turns out that was not as easy as I thought
Contribution description
a huge examples and tests, some sys-modules and fuzzing/gnrc use functions of xtimer, gnrc(/nteif), without including the header, this PR adds these includes.
Testing procedure
reading
Murdock
build them
Issues/PRs references
was found while working on #17693