From fec763384826dd661c776bb6260ab2a8eda9bafa Mon Sep 17 00:00:00 2001 From: bbahnsen Date: Thu, 26 Oct 2006 18:14:11 +0000 Subject: Implement a filelength function for GCC. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1847 6f19259b-4bc3-4df7-8a09-765794883524 --- Tools/CCode/Source/Common/CommonLib.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Tools/CCode/Source/Common/CommonLib.h') diff --git a/Tools/CCode/Source/Common/CommonLib.h b/Tools/CCode/Source/Common/CommonLib.h index 46f0cbace5..f6c29ef8a8 100644 --- a/Tools/CCode/Source/Common/CommonLib.h +++ b/Tools/CCode/Source/Common/CommonLib.h @@ -124,9 +124,13 @@ PrintGuidToBuffer ( #define ASSERT(x) assert(x) #ifdef __GNUC__ +#include +#include #define stricmp strcasecmp +#define _stricmp strcasecmp #define strnicmp strncasecmp #define strcmpi strcasecmp +size_t _filelength(FILE *file); #ifndef __CYGWIN__ char *strlwr(char *s); #endif -- cgit v1.2.3