aboutsummaryrefslogtreecommitdiffstats
path: root/vasprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'vasprintf.c')
-rw-r--r--vasprintf.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/vasprintf.c b/vasprintf.c
index fd14650..65c494e 100644
--- a/vasprintf.c
+++ b/vasprintf.c
@@ -1,7 +1,11 @@
/* See LICENSE file for copyright and license details. */
-#include "libsimple.h"
+#include "common.h"
#ifndef TEST
+#if defined(__clang__)
+# pragma clang diagnostic ignored "-Wformat-nonliteral"
+#endif
+
int
libsimple_vasprintf(char **strp, const char *fmt, va_list ap)