summaryrefslogtreecommitdiff
path: root/util/inteltool
diff options
context:
space:
mode:
Diffstat (limited to 'util/inteltool')
-rw-r--r--util/inteltool/inteltool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/inteltool/inteltool.h b/util/inteltool/inteltool.h
index 41a9957454..986a03c1f3 100644
--- a/util/inteltool/inteltool.h
+++ b/util/inteltool/inteltool.h
@@ -4,6 +4,9 @@
#ifndef INTELTOOL_H
#define INTELTOOL_H 1
+#if defined(__linux__)
+#include <linux/stddef.h>
+#endif
#include <arch/mmio.h>
#include <commonlib/helpers.h>
@@ -17,6 +20,7 @@
#define __DARWIN__
#include <DirectHW/DirectHW.h>
#endif
+
#ifdef __NetBSD__
#include <pciutils/pci.h>
#else