summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index bc24338e..d4303f61 100644
--- a/main.c
+++ b/main.c
@@ -24,7 +24,9 @@
#include <assert.h>
#include <ctype.h>
+#if HAVE_ERR
#include <err.h>
+#endif
#include <fcntl.h>
#include <glob.h>
#include <signal.h>