--- sed-4.0.8/sed/execute.c~	2003-10-13 07:32:27.000000000 -0500
+++ sed-4.0.8/sed/execute.c	2003-12-19 12:09:30.435938000 -0600
@@ -57,6 +57,7 @@
 
 #if defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H && defined HAVE_MBRTOWC
 /* We can handle multibyte string.  */
+# include <sys/_mbstate_t.h>
 # include <wchar.h>
 # include <wctype.h>
 # define MBS_SUPPORT