blob: d0d203eadb292b7f212fb8289086478c6b0303a4 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001Use HAVE_WORKING_SNPRINTF to check for snprintf()
2
3Upstream-Status: Pending
4
5Signed-off-by: Khem Raj <raj.khem@gmail.com>
6
7Index: libesmtp-1.0.6/missing.h
8===================================================================
9--- libesmtp-1.0.6.orig/missing.h
10+++ libesmtp-1.0.6/missing.h
11@@ -43,7 +43,7 @@ int strncasecmp (const char *a, const ch
12 void *memrchr (const void *a, int c, size_t len);
13 #endif
14
15-#ifndef HAVE_SNPRINTF
16+#ifndef HAVE_WORKING_SNPRINTF
17 #include <sys/types.h>
18 int snprintf(char *s, size_t n, const char *format, ...);
19 #endif