summaryrefslogtreecommitdiffstats
path: root/util/superiotool/superiotool.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/superiotool/superiotool.h')
-rw-r--r--util/superiotool/superiotool.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/superiotool/superiotool.h b/util/superiotool/superiotool.h
index 8c0155975986..14090309ee06 100644
--- a/util/superiotool/superiotool.h
+++ b/util/superiotool/superiotool.h
@@ -8,6 +8,7 @@
#include <stdint.h>
#include <string.h>
#include <getopt.h>
+#include <commonlib/bsd/helpers.h>
#if defined(__linux__)
#include <sys/io.h>
#endif
@@ -109,8 +110,6 @@ and print its vendor, name, ID, revision, and config port.\n"
#define NOTFOUND " Failed. Returned data: "
-#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
-
#define EOT -1 /* End Of Table */
#define NOLDN -2 /* NO LDN needed */
#define NANA -3 /* Not Available: