summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/device')
-rw-r--r--src/device/device_util.c1
-rw-r--r--src/device/oprom/realmode/x86.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/device/device_util.c b/src/device/device_util.c
index df66f5c620..d8a84316c0 100644
--- a/src/device/device_util.c
+++ b/src/device/device_util.c
@@ -16,6 +16,7 @@
#include <device/path.h>
#include <device/pci_def.h>
#include <device/resource.h>
+#include <stdlib.h>
#include <string.h>
/**
diff --git a/src/device/oprom/realmode/x86.c b/src/device/oprom/realmode/x86.c
index 8ba0241ea4..1026ddb7ff 100644
--- a/src/device/oprom/realmode/x86.c
+++ b/src/device/oprom/realmode/x86.c
@@ -21,6 +21,7 @@
#include <device/pci_ids.h>
#include <pc80/i8259.h>
#include <pc80/i8254.h>
+#include <stdlib.h>
#include <string.h>
#include <vbe.h>