summaryrefslogtreecommitdiffstats
path: root/src/lid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lid.c')
-rw-r--r--src/lid.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lid.c b/src/lid.c
index 9b8ba6f..7fd2399 100644
--- a/src/lid.c
+++ b/src/lid.c
@@ -26,6 +26,7 @@
#include <sys/wait.h>
#include <assert.h>
#include <getopt.h>
+#include <regex.h>
#include "xstring.h"
#include "xunistd.h"
#include "xnls.h"
@@ -38,11 +39,6 @@
#if HAVE_LIMITS_H
# include <limits.h>
#endif
-#if WITH_REGEX
-# include <regex.h>
-#else
-# include <rx.h>
-#endif
typedef void (*report_func_t) __P((char const *name, struct file_link **flinkv));
typedef int (*query_func_t) __P((char const *arg, report_func_t));