-typedef long off_t;
-#define HAVE_STRING_H 1
-#include <fcntl.h>
-#define snprintf _snprintf
-#define vsnprintf _vsnprintf
-#define strcasecmp stricmp
-#define strncasecmp strnicmp
+ extern "C" {int strcasecmp(const char*, const char*);}
+ typedef long off_t;
+ #define HAVE_STRING_H 1
+ #include <fcntl.h>
+ #define snprintf _snprintf
+ #define vsnprintf _vsnprintf
+ #define strcasecmp stricmp
+ #define strncasecmp strnicmp