summaryrefslogtreecommitdiffstats
path: root/term_ps.c
diff options
context:
space:
mode:
Diffstat (limited to 'term_ps.c')
-rw-r--r--term_ps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/term_ps.c b/term_ps.c
index d1f56f70..924467b3 100644
--- a/term_ps.c
+++ b/term_ps.c
@@ -20,7 +20,9 @@
#include <sys/types.h>
#include <assert.h>
+#if HAVE_ERR
#include <err.h>
+#endif
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>