summaryrefslogtreecommitdiff
path: root/include/sm/conf.h
diff options
context:
space:
mode:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>2014-01-26 20:46:55 +0000
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>2014-01-26 20:46:55 +0000
commitc1bfccf73ee6551521d508e89408309544c871c8 (patch)
treec7649ff2b7ea8545ce9a302a23d0db6931877c1f /include/sm/conf.h
parente388eedd7a4356992c2ecf5dcc8e77368cd9c391 (diff)
downloadsrc-test2-510eaba03dadb04bd5f3591eb398370903f19a36.tar.gz
src-test2-510eaba03dadb04bd5f3591eb398370903f19a36.zip
Diffstat (limited to 'include/sm/conf.h')
-rw-r--r--include/sm/conf.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/include/sm/conf.h b/include/sm/conf.h
index b47a5f8cbec1..179be7aefd48 100644
--- a/include/sm/conf.h
+++ b/include/sm/conf.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998-2011 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 1998-2011 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved.
* Copyright (c) 1988, 1993
@@ -10,7 +10,7 @@
* the sendmail distribution.
*
*
- * $Id: conf.h,v 1.144 2011/05/03 16:24:00 ca Exp $
+ * $Id: conf.h,v 1.147 2013/11/22 20:51:31 ca Exp $
*/
/*
@@ -1532,6 +1532,8 @@ extern void *malloc();
# if defined(__GLIBC__) && defined(__GLIBC_MINOR__)
# define GLIBC_VERSION ((__GLIBC__ << 8) + __GLIBC_MINOR__)
# if (GLIBC_VERSION >= 0x201)
+# define SOCKADDR_LEN_T socklen_t
+# define SOCKOPT_LEN_T socklen_t
# undef IPPROTO_ICMPV6 /* linux #defines, glibc enums */
# else /* (GLIBC_VERSION >= 0x201) */
# include <linux/in6.h> /* IPv6 support */
@@ -2963,6 +2965,11 @@ typedef void (*sigfunc_t) __P((int));
# define SM_INT32 int32_t
# endif /* ! SM_INT32 */
+/* XXX 16 bit type */
+# ifndef SM_UINT16
+# define SM_UINT16 uint16_t
+# endif /* ! SM_UINT16 */
+
/*
** SVr4 and similar systems use different routines for setjmp/longjmp
** with signal support
@@ -3045,4 +3052,6 @@ struct sm_align
# endif /* ! SM_ALIGN_SIZE */
# define SM_ALIGN_BITS (SM_ALIGN_SIZE - 1)
+char *sm_inet6_ntop __P((const void *, char *, size_t));
+
#endif /* ! SM_CONF_H */