summaryrefslogtreecommitdiff
path: root/common/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/compat.h')
-rw-r--r--common/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/compat.h b/common/compat.h
index 6326430..8b3ac21 100644
--- a/common/compat.h
+++ b/common/compat.h
@@ -76,4 +76,8 @@ void vwarnx (const char *fmt, va_list ap);
#endif /* !HAVE_ERR_H */
+#ifdef HAVE_ERRNO_H
+#include <errno.h>
+#endif /* HAVE_ERRNO_H */
+
#endif /* __COMPAT_H__ */