Skip to content

iio.h: Protect against inclusion of <linux/iio/types.h>#768

Merged
pcercuei merged 1 commit intomasterfrom
iio-protect-enums
Dec 3, 2021
Merged

iio.h: Protect against inclusion of <linux/iio/types.h>#768
pcercuei merged 1 commit intomasterfrom
iio-protect-enums

Conversation

@pcercuei
Copy link
Copy Markdown
Contributor

Add the missing enums from <linux/iio/types.h> and protect all of them
from double-definition by wrapping them with the header's protect
guards.

Fixes #758.

Add the missing enums from <linux/iio/types.h> and protect all of them
from double-definition by wrapping them with the header's protect
guards.

Fixes #758.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
@pcercuei pcercuei merged commit 21b466d into master Dec 3, 2021
@pcercuei pcercuei deleted the iio-protect-enums branch December 3, 2021 13:19
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.

Redefinition errors between libiio and kernel iio include files

2 participants