summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/amdfwtool/amdfwtool.c1
-rw-r--r--util/amdfwtool/amdfwtool.h8
-rw-r--r--util/amdfwtool/data_parse.c1
3 files changed, 2 insertions, 8 deletions
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c
index f167e5ed1a..8b54876db7 100644
--- a/util/amdfwtool/amdfwtool.c
+++ b/util/amdfwtool/amdfwtool.c
@@ -57,6 +57,7 @@
#include <stdlib.h>
#include <getopt.h>
#include <libgen.h>
+#include <stdint.h>
#include "amdfwtool.h"
diff --git a/util/amdfwtool/amdfwtool.h b/util/amdfwtool/amdfwtool.h
index 6ae4675121..b12b989b74 100644
--- a/util/amdfwtool/amdfwtool.h
+++ b/util/amdfwtool/amdfwtool.h
@@ -3,14 +3,6 @@
#ifndef _AMD_FW_TOOL_H_
#define _AMD_FW_TOOL_H_
-#if defined(__GLIBC__)
-typedef unsigned long long int uint64_t;
-typedef unsigned int uint32_t;
-typedef unsigned char uint8_t;
-typedef unsigned short uint16_t;
-#endif
-
-
typedef enum _amd_fw_type {
AMD_FW_PSP_PUBKEY = 0,
AMD_FW_PSP_BOOTLOADER = 1,
diff --git a/util/amdfwtool/data_parse.c b/util/amdfwtool/data_parse.c
index 017c689f13..b6e14a8f9a 100644
--- a/util/amdfwtool/data_parse.c
+++ b/util/amdfwtool/data_parse.c
@@ -2,6 +2,7 @@
#include <regex.h>
#include <string.h>
#include <stdlib.h>
+#include <stdint.h>
#include "amdfwtool.h"