acpi: include missing header in <acpi.h>
PATCH 1/1 acpi: include missing header in <acpi.h>
acpi_sigcmp defined in the header uses memcmp, but no included headers pull in memcmp, which can lead to compile errors in new code, depending on include order. Fix this.
Reported-by @healytpk, https://github.com/saschahauer/barebox/issues/7
Signed-off-by Ahmad Fatoum <[email protected]>
--- include/acpi.h | 1 + 1 file changed, 1 insertion(+)
include/acpi.h +1 -0
@@ -6,6 +6,7 @@#ifndef __ACPI_H_#define __ACPI_H_ +#include <linux/string.h> #include <linux/types.h> #include <driver.h>
Signature · 7 lines
2.20.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 9 lines · Ahmad Fatoum
acpi_sigcmpdefined in the header uses memcmp, but no included headers pull in memcmp, which can lead to compile errors in new code, depending on include order. Fix this.Reported-by @healytpk, https://github.com/saschahauer/barebox/issues/7Signed-off-by Ahmad Fatoum <[email protected]>--- include/acpi.h | 1 + 1 file changed, 1 insertion(+)
Applied, thanks
Sascha
Signature · 9 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox