summaryrefslogtreecommitdiffstats
path: root/gptsync/gptsync.h
diff options
context:
space:
mode:
Diffstat (limited to 'gptsync/gptsync.h')
-rw-r--r--gptsync/gptsync.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/gptsync/gptsync.h b/gptsync/gptsync.h
index 8bb5da4dc..d1bf3c20e 100644
--- a/gptsync/gptsync.h
+++ b/gptsync/gptsync.h
@@ -65,6 +65,7 @@ typedef CHAR16 CHARN;
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include <unistd.h>
#include <errno.h>
@@ -75,10 +76,10 @@ typedef CHAR16 CHARN;
typedef int INTN;
typedef unsigned int UINTN;
-typedef unsigned char UINT8;
-typedef unsigned short UINT16;
-typedef unsigned long UINT32;
-typedef unsigned long long UINT64;
+typedef uint8_t UINT8;
+typedef uint16_t UINT16;
+typedef uint32_t UINT32;
+typedef uint64_t UINT64;
typedef void VOID;
typedef int BOOLEAN;