--- a/epgsearchext.c
+++ b/epgsearchext.c
@@ -39,6 +39,12 @@ The project's page is at http://winni.vd
 #include "blacklist.h"
 #include <math.h>
 
+#ifdef __FreeBSD__
+#ifdef isnumber
+#undef isnumber
+#endif
+#endif
+
 cSearchExts SearchExts;
 cSearchExts SearchTemplates;
 
--- a/epgsearchsvdrp.c
+++ b/epgsearchsvdrp.c
@@ -40,6 +40,12 @@ The project's page is at http://winni.vd
 #include "conflictcheck.h"
 #include "menu_main.h"
 
+#ifdef __FreeBSD__
+#ifdef isnumber
+#undef isnumber
+#endif
+#endif
+
 using std::string;
 using std::set;
 
