-
Notifications
You must be signed in to change notification settings - Fork 496
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
Fixed includes in experimental headers #1805
Fixed includes in experimental headers #1805
Conversation
Signed-off-by: Andriy Kokhan <[email protected]>
@@ -25,6 +25,7 @@ | |||
#ifndef __SAIEXTENSIONS_H_ | |||
#define __SAIEXTENSIONS_H_ | |||
|
|||
#include <sai.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.
Missing include for SAI_API_MAX
used below
@@ -25,6 +25,7 @@ | |||
#ifndef __SAISWITCHEXTENSIONS_H_ | |||
#define __SAISWITCHEXTENSIONS_H_ | |||
|
|||
#include <saiswitch.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.
Missed include for SAI_SWITCH_ATTR_END
used below
So this is not necessay since usually its used like |
@kcudnik
But we can easily avoid this implicit dependency which is a bad practice anyway. So, why not? BTW, "saitypes.h" is also included in "sai.h" but still included in these experimental headers. |
Signed-off-by: Andriy Kokhan <[email protected]>
No description provided.