=================================================================== RCS file: /home/cvs/OpenXM/src/asir-doc/jtexindex/C/Attic/texindex.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- OpenXM/src/asir-doc/jtexindex/C/Attic/texindex.c 1999/12/08 05:47:43 1.1 +++ OpenXM/src/asir-doc/jtexindex/C/Attic/texindex.c 2009/02/22 19:43:11 1.2 @@ -44,6 +44,16 @@ # undef open #endif +#if defined(__MINGW32__) +#if !defined(_BSDTYPES_DEFINED) +typedef unsigned char u_char; +typedef unsigned short u_short; +typedef unsigned int u_int; +typedef unsigned long u_long; +#define _BSDTYPES_DEFINED +#endif /* _BSDTYPES_DEFINED */ +#endif /* __MINGW32__*/ + #if defined (HAVE_STRING_H) # include #endif /* HAVE_STRING_H */