summaryrefslogtreecommitdiff
path: root/BaseTools/Source/C/GenVtf/GenVtf.h
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/C/GenVtf/GenVtf.h')
-rw-r--r--BaseTools/Source/C/GenVtf/GenVtf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/BaseTools/Source/C/GenVtf/GenVtf.h b/BaseTools/Source/C/GenVtf/GenVtf.h
index 25ce1141ba..eab14f3aa6 100644
--- a/BaseTools/Source/C/GenVtf/GenVtf.h
+++ b/BaseTools/Source/C/GenVtf/GenVtf.h
@@ -33,6 +33,9 @@ Abstract:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#ifndef __GNUC__
+#include <io.h>
+#endif
#include "assert.h"
#include <Common/PiFirmwareFile.h>
#include "ParseInf.h"