--- ./lib/pager.c_orig  2025-08-29 06:24:49.561863265 -0500
+++ ./lib/pager.c       2025-08-29 06:25:30.318980460 -0500
@@ -14,7 +14,9 @@
 #include <stdbool.h>
 #include <stdlib.h>
 #include <string.h>
+#ifdef HAVE_ERR_H
 #include <err.h>
+#endif
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/wait.h>

