summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-06-23 08:23:34 +1000
committerDamien Miller <djm@mindrot.org>2000-06-23 08:23:34 +1000
commitb54b40ef06517dc3091253228f06d3bd54f19a82 (patch)
treead094e0baa6a0af32ee0ceda85369d464e35b85c /defines.h
parentc19fd5f4e25f58af35cbede8a442ed3965e32eb0 (diff)
downloadopenssh-git-b54b40ef06517dc3091253228f06d3bd54f19a82.tar.gz
- (djm) Use sa_family_t in prototype for rresvport_af. Patch from
Svante Signell <svante.signell@telia.com> - (djm) Autoconf logic to define sa_family_t if it is missing
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/defines.h b/defines.h
index 974f1bad..23e00d1a 100644
--- a/defines.h
+++ b/defines.h
@@ -187,6 +187,11 @@ typedef int ssize_t;
# define HAVE_SSIZE_T
#endif /* HAVE_SSIZE_T */
+#ifndef HAVE_SA_FAMILY_T
+typedef int sa_family_t;
+# define HAVE_SA_FAMILY_T
+#endif /* HAVE_SA_FAMILY_T */
+
#ifndef HAVE_PID_T
typedef int pid_t;
# define HAVE_PID_T