diff -urN sed-4.2.1.orig/lib/regexec.c sed-4.2.1/lib/regexec.c
--- sed-4.2.1.orig/lib/regexec.c	2008-06-04 18:23:17.189401740 +0000
+++ sed-4.2.1/lib/regexec.c	2008-06-04 18:26:00.994736475 +0000
@@ -18,6 +18,8 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
+#include "stdbool.h"
+
 static reg_errcode_t match_ctx_init (re_match_context_t *cache, int eflags,
 				     int n) internal_function;
 static void match_ctx_clean (re_match_context_t *mctx) internal_function;
