aboutsummaryrefslogtreecommitdiffstats
path: root/openbsd-compat
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2020-02-10 22:56:43 +0100
committerGilles Chehade <gilles@poolp.org>2020-02-24 18:33:09 +0100
commit66b3921fdb0201074cd0521a1aa3a2261a8e8e16 (patch)
treec08ae910c0d3c465fec859cfbfe094599f0da0ea /openbsd-compat
parentmissing header (diff)
downloadOpenSMTPD-66b3921fdb0201074cd0521a1aa3a2261a8e8e16.tar.xz
OpenSMTPD-66b3921fdb0201074cd0521a1aa3a2261a8e8e16.zip
INFTIM
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/defines.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsd-compat/defines.h b/openbsd-compat/defines.h
index a865dd20..a6e528eb 100644
--- a/openbsd-compat/defines.h
+++ b/openbsd-compat/defines.h
@@ -34,6 +34,10 @@
# define EAUTH 80
#endif
+#ifndef INFTIM
+#define INFTIM (-1)
+#endif
+
#ifndef HOST_NAME_MAX
# ifdef _POSIX_HOST_NAME_MAX
# define HOST_NAME_MAX _POSIX_HOST_NAME_MAX