summaryrefslogtreecommitdiffstats
path: root/src/include/device/device.h
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2019-11-13 19:50:33 -0800
committerPatrick Georgi <pgeorgi@google.com>2019-11-18 22:47:13 +0000
commita2148377b5605e96860476bd7cffbabc6e92542e (patch)
tree7cd07d20d3283bb141f85ef66b6b86ade1e6ee26 /src/include/device/device.h
parent85b41445b5c4df5833eceb7e1602408dc6c68662 (diff)
downloadcoreboot-a2148377b5605e96860476bd7cffbabc6e92542e.tar.gz
coreboot-a2148377b5605e96860476bd7cffbabc6e92542e.tar.bz2
coreboot-a2148377b5605e96860476bd7cffbabc6e92542e.zip
include: Make stdbool.h a separate file
This patch moves the traditional POSIX stdbool.h definitions out from stdint.h into their own file. This helps for using these definitions in commonlib code which may be compiled in different environments. For coreboot everything should chain-include this stuff via types.h anyway so nothing should change. Change-Id: Ic8d52be80b64d8e9564f3aee8975cb25e4c187f5 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36837 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/include/device/device.h')
-rw-r--r--src/include/device/device.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 405d816e153f..b1c1651ec9e0 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -9,11 +9,10 @@
*/
#if !defined(__ROMCC__)
-#include <stdint.h>
-#include <stddef.h>
#include <device/resource.h>
#include <device/path.h>
#include <device/pci_type.h>
+#include <types.h>
struct device;
struct pci_operations;