Index: clish/nspace.h
--- clish/nspace.h.orig	2021-02-12 10:21:43.000000000 +0100
+++ clish/nspace.h	2021-10-15 21:21:46.201494000 +0200
@@ -16,7 +16,7 @@
 	CLISH_NSPACE_CHELP
 } clish_nspace_visibility_e;
 
-#include <regex.h>
+#include "pcreposix.h"
 
 #include "clish/macros.h"
 #include "clish/view.h"
Index: clish/nspace/nspace.c
--- clish/nspace/nspace.c.orig	2021-02-12 10:21:43.000000000 +0100
+++ clish/nspace/nspace.c	2021-10-15 21:21:46.201649000 +0200
@@ -11,7 +11,7 @@
 #include <string.h>
 #include <stdio.h>
 #include <sys/types.h>
-#include <regex.h>
+#include "pcreposix.h"
 #include <ctype.h>
 
 /*--------------------------------------------------------- */
Index: clish/nspace/private.h
--- clish/nspace/private.h.orig	2021-02-12 10:21:43.000000000 +0100
+++ clish/nspace/private.h	2021-10-15 21:21:46.201754000 +0200
@@ -1,7 +1,7 @@
 /*
  * nspace.h
  */
-#include <regex.h>
+#include "pcreposix.h"
 
 #include "clish/nspace.h"
 
Index: clish/ptype/private.h
--- clish/ptype/private.h.orig	2020-06-15 10:43:15.000000000 +0200
+++ clish/ptype/private.h	2021-10-15 21:21:46.201860000 +0200
@@ -5,7 +5,7 @@
 #include "lub/argv.h"
 
 #include <sys/types.h>
-#include <regex.h>
+#include "pcreposix.h"
 
 typedef struct clish_ptype_integer_s clish_ptype_integer_t;
 struct clish_ptype_integer_s {
Index: konf/tree/tree.c
--- konf/tree/tree.c.orig	2021-02-12 10:21:43.000000000 +0100
+++ konf/tree/tree.c	2021-10-15 21:21:46.202273000 +0200
@@ -14,7 +14,7 @@
 #include <string.h>
 #include <stdio.h>
 #include <sys/types.h>
-#include <regex.h>
+#include "pcreposix.h"
 
 /*--------------------------------------------------------- */
 static int konf_tree_compare(const void *first, const void *second)
