diff --git a/dlls/mshtml/nsiface.idl b/dlls/mshtml/nsiface.idl
index 8a359d9c203..b6692fbd3b2 100644
--- a/dlls/mshtml/nsiface.idl
+++ b/dlls/mshtml/nsiface.idl
@@ -45,7 +45,6 @@ typedef nsIIDRef nsCIDRef;
typedef WCHAR PRUnichar;
typedef ULONG PRUint32;
typedef WORD PRUint16;
-typedef BYTE PRUint8;
typedef ULONGLONG PRUint64;
/*
@@ -57,7 +56,7 @@ typedef ULONGLONG PRUint64;
#define int32_t LONG
#define int64_t INT64
-#define uint8_t PRUint8
+#define uint8_t UINT8
#define uint16_t PRUint16
#define uint32_t PRUint32
#define uint64_t PRUint64