--- libesmtp-1.0.4/missing.h.build 2004-04-19 13:15:45.000000000 +0200 +++ libesmtp-1.0.4/missing.h 2006-03-24 23:50:38.000000000 +0100 @@ -43,15 +43,4 @@ void *memrchr (const void *a, int c, size_t len); #endif -#ifndef HAVE_SNPRINTF -#include <sys/types.h> -int snprintf(char *s, size_t n, const char *format, ...); -#endif - -#ifndef HAVE_VSNPRINTF -#include <stdarg.h> -#include <sys/types.h> -int vsnprintf(char *s, size_t n, const char *format, va_list ap); -#endif - #endif --- libesmtp-1.0.4/headers.c~ 2005-12-15 21:52:01.000000000 +0100 +++ libesmtp-1.0.4/headers.c 2006-03-24 23:53:58.000000000 +0100 @@ -33,6 +33,7 @@ #include <unistd.h> #include <time.h> #include <errno.h> +#include <sys/time.h> #include <missing.h>