summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-07-27 09:37:08 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-07-29 09:37:10 +0000
commit441e19153036fa3e0e3b2de3991dacdc01beda4c (patch)
tree9909b9cda22186ce78f4e80daf38835c36f5ad97 /src
parentb84bd303eeeeee89b1fde61335495ba3c2aeb185 (diff)
src/acpi: Add missing <{stdbool,stdint}.h>
Change-Id: Ic09c04cfa18408c61d7e99ea29bccc23acbd7144 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43956 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/acpi/acpigen_dptf.c2
-rw-r--r--src/acpi/acpigen_ps2_keybd.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/acpi/acpigen_dptf.c b/src/acpi/acpigen_dptf.c
index b3cc37a256..3877daa88b 100644
--- a/src/acpi/acpigen_dptf.c
+++ b/src/acpi/acpigen_dptf.c
@@ -2,6 +2,8 @@
#include <acpi/acpigen.h>
#include <acpi/acpigen_dptf.h>
+#include <stdbool.h>
+#include <stdint.h>
/* Defaults */
#define DEFAULT_RAW_UNIT "ma"
diff --git a/src/acpi/acpigen_ps2_keybd.c b/src/acpi/acpigen_ps2_keybd.c
index b14bbd2d2b..be20220e31 100644
--- a/src/acpi/acpigen_ps2_keybd.c
+++ b/src/acpi/acpigen_ps2_keybd.c
@@ -5,6 +5,8 @@
#include <acpi/acpigen_ps2_keybd.h>
#include <console/console.h>
#include <input-event-codes.h>
+#include <stdbool.h>
+#include <stdint.h>
#define KEYMAP(scancode, keycode) (((uint32_t)(scancode) << 16) | (keycode & 0xFFFF))
#define SCANCODE(keymap) ((keymap >> 16) & 0xFFFF)