Bobby Bruce has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/70420?usp=email )
Change subject: dev: Fix Linux specific includes to be portable
......................................................................
dev: Fix Linux specific includes to be portable
This allows for compilation in non-linux systems (e.g., Mac OS).
Change-Id: Ib6c9406baf42db8caaad335ebc670c1905584ea2
---
M src/dev/hsa/kfd_ioctl.h
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/dev/hsa/kfd_ioctl.h b/src/dev/hsa/kfd_ioctl.h
index c953787..b7997c4 100644
--- a/src/dev/hsa/kfd_ioctl.h
+++ b/src/dev/hsa/kfd_ioctl.h
@@ -23,9 +23,10 @@
#ifndef KFD_IOCTL_H_INCLUDED
#define KFD_IOCTL_H_INCLUDED
+#include <sys/ioctl.h>
+#include <sys/types.h>
+
#include <cstdint>
-#include <linux/ioctl.h>
-#include <linux/types.h>
namespace gem5
{
--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/70420?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ib6c9406baf42db8caaad335ebc670c1905584ea2
Gerrit-Change-Number: 70420
Gerrit-PatchSet: 1
Gerrit-Owner: Bobby Bruce <bbr...@ucdavis.edu>
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org