--- src/GtkEditor/gtkeditor/internal.h.orig	Mon Oct 11 09:49:57 1999
+++ src/GtkEditor/gtkeditor/internal.h	Mon Feb 28 01:33:16 2000
@@ -24,7 +24,11 @@
 #define INTERNAL_H
 
 #include <sys/types.h>
+#ifdef __FreeBSD__
+#include <gnuregex.h>
+#else
 #include <regex.h>
+#endif
 
 #include "gtkeditor.h"
 #include "syntaxtable.h"
