summaryrefslogtreecommitdiff
path: root/contrib/sendmail/include
diff options
context:
space:
mode:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>2002-08-28 17:57:52 +0000
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>2002-08-28 17:57:52 +0000
commit959366dcbe20824a331bcae977d662025850f481 (patch)
tree917921b3db147e850cc818686dc5ee3127c9842b /contrib/sendmail/include
parent739ac4d4d3a1d1d68eae4e7bd59c179d842864d2 (diff)
Notes
Diffstat (limited to 'contrib/sendmail/include')
-rw-r--r--contrib/sendmail/include/sm/conf.h4
-rw-r--r--contrib/sendmail/include/sm/varargs.h4
2 files changed, 5 insertions, 3 deletions
diff --git a/contrib/sendmail/include/sm/conf.h b/contrib/sendmail/include/sm/conf.h
index 83950bc85fa7..f1549225a2b9 100644
--- a/contrib/sendmail/include/sm/conf.h
+++ b/contrib/sendmail/include/sm/conf.h
@@ -10,7 +10,7 @@
* the sendmail distribution.
*
*
- * $Id: conf.h,v 1.90.2.2 2002/06/21 22:31:35 gshapiro Exp $
+ * $Id: conf.h,v 1.90.2.4 2002/08/26 22:58:37 gshapiro Exp $
*/
/*
@@ -721,6 +721,7 @@ typedef int pid_t;
# define HASSTRERROR 1 /* has strerror(3) */
# define HASGETDTABLESIZE 1
# define HASGETUSERSHELL 1
+# define HAS_IN_H 1
# define SM_CONF_GETOPT 0 /* need a replacement for getopt(3) */
# define BSD4_4_SOCKADDR /* has sa_len */
# define NETLINK 1 /* supports AF_LINK */
@@ -733,6 +734,7 @@ typedef int pid_t;
# define ERRLIST_PREDEFINED /* don't declare sys_errlist */
# ifndef NOT_SENDMAIL
# define sleep sleepX
+extern unsigned int sleepX __P((unsigned int seconds));
# endif /* ! NOT_SENDMAIL */
# endif /* defined(DARWIN) */
diff --git a/contrib/sendmail/include/sm/varargs.h b/contrib/sendmail/include/sm/varargs.h
index 7d2b5cadde60..34f75124af11 100644
--- a/contrib/sendmail/include/sm/varargs.h
+++ b/contrib/sendmail/include/sm/varargs.h
@@ -6,7 +6,7 @@
* forth in the LICENSE file which can be found at the top level of
* the sendmail distribution.
*
- * $Id: varargs.h,v 1.7 2001/09/13 16:45:40 ca Exp $
+ * $Id: varargs.h,v 1.7.2.1 2002/07/29 21:43:20 gshapiro Exp $
*/
/*
@@ -31,7 +31,7 @@
# elif defined(__va_copy)
# define SM_VA_COPY(dst, src) __va_copy((dst), (src))
# else
-# define SM_VA_COPY(dst, src) (dst) = (src)
+# define SM_VA_COPY(dst, src) memcpy(&(dst), &(src), sizeof((dst)))
# endif
/*