summaryrefslogtreecommitdiff
path: root/screenfilter.c
diff options
context:
space:
mode:
authorchris <>2002-11-04 12:29:06 +0000
committerchris <>2002-11-04 12:29:06 +0000
commit83c173350bea1170e7db432a33f859517981db8d (patch)
tree504db9b4ed2250cd1d973305e1be1ef3b38d58ec /screenfilter.c
parent09e55647de7217a0c4f3d994c63cdae6f301549d (diff)
downloadiftop-83c173350bea1170e7db432a33f859517981db8d.zip
""
Diffstat (limited to 'screenfilter.c')
-rw-r--r--screenfilter.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/screenfilter.c b/screenfilter.c
index a33431c..2d12ee2 100644
--- a/screenfilter.c
+++ b/screenfilter.c
@@ -6,6 +6,10 @@
*
*/
+#include "config.h"
+
+#ifdef HAVE_REGCOMP
+
#include <sys/types.h>
#include <regex.h>
#include <stdio.h>
@@ -54,3 +58,4 @@ int screen_filter_match(char *s) {
}
}
+#endif /* HAVE_REGCOMP */