aboutsummaryrefslogtreecommitdiff
path: root/util/ectool
diff options
context:
space:
mode:
Diffstat (limited to 'util/ectool')
-rw-r--r--util/ectool/ec.c1
-rw-r--r--util/ectool/ec.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/util/ectool/ec.c b/util/ectool/ec.c
index 233e9ba459..5bff0c2655 100644
--- a/util/ectool/ec.c
+++ b/util/ectool/ec.c
@@ -18,6 +18,7 @@
*/
#include <stdio.h>
+#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/io.h>
diff --git a/util/ectool/ec.h b/util/ectool/ec.h
index 94ddbf893b..a7b10e4324 100644
--- a/util/ectool/ec.h
+++ b/util/ectool/ec.h
@@ -20,8 +20,6 @@
#ifndef _EC_H
#define _EC_H
-#include <stdint.h>
-
#define EC_DATA 0x62
#define EC_SC 0x66