]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/CCode/Source/Common/CommonLib.h
_filelength is a function of fd, not FILE *
[mirror_edk2.git] / Tools / CCode / Source / Common / CommonLib.h
index 46f0cbace5645a9771ac4f818658c7975332cb8a..40d35356e7295e7abd874a7db8b876b3e1f5e9ee 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(int fd);\r
 #ifndef __CYGWIN__\r
 char *strlwr(char *s);\r
 #endif\r