]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/CCode/Source/Common/CommonLib.h
Implement a filelength function for GCC.
[mirror_edk2.git] / Tools / CCode / Source / Common / CommonLib.h
index 46f0cbace5645a9771ac4f818658c7975332cb8a..f6c29ef8a8727d99b23416123763642fb2aa919d 100644 (file)
@@ -124,9 +124,13 @@ PrintGuidToBuffer (
 #define ASSERT(x) assert(x)\r
 \r
 #ifdef __GNUC__\r
+#include <stdio.h>\r
+#include <sys/stat.h>\r
 #define stricmp strcasecmp\r
+#define _stricmp strcasecmp\r
 #define strnicmp strncasecmp\r
 #define strcmpi strcasecmp\r
+size_t _filelength(FILE *file);\r
 #ifndef __CYGWIN__\r
 char *strlwr(char *s);\r
 #endif\r