Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release-src > by-pkgid > 2e66d2e4c90016e3dfcfefc54bbb09a7 > files > 3

libesmtp-1.0.6-7.mga5.src.rpm

diff -Naurp libesmtp-1.0.6/headers.c libesmtp-1.0.6.oden/headers.c
--- libesmtp-1.0.6/headers.c	2010-08-09 22:35:19.000000000 +0200
+++ libesmtp-1.0.6.oden/headers.c	2010-08-11 12:12:48.010916220 +0200
@@ -36,6 +36,7 @@
 # include <sys/time.h>
 #endif
 #include <errno.h>
+#include <sys/time.h>
 
 #include <missing.h>
 
diff -Naurp libesmtp-1.0.6/missing.h libesmtp-1.0.6.oden/missing.h
--- libesmtp-1.0.6/missing.h	2010-08-08 17:45:53.000000000 +0200
+++ libesmtp-1.0.6.oden/missing.h	2010-08-11 12:12:48.010916220 +0200
@@ -43,15 +43,4 @@ int strncasecmp (const char *a, const ch
 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