Index: scim-1.4.5/src/scim_types.h.in =================================================================== --- scim-1.4.5.orig/src/scim_types.h.in +++ scim-1.4.5/src/scim_types.h.in @@ -32,6 +32,13 @@ @INCLUDE_STDINT@ +#ifdef __FreeBSD__ +# include +# if __FreeBSD_version > 500035 +# define __STDC_ISO_10646__ +# endif +#endif + namespace scim { typedef @UINT16@ uint16;