diff options
author | Marek Vavrusa <marek@vavrusa.com> | 2016-05-15 00:32:38 +0200 |
---|---|---|
committer | Marek Vavrusa <marek@vavrusa.com> | 2016-05-15 00:32:53 +0200 |
commit | 28b230823036b74872027545143db403f2456322 (patch) | |
tree | d1be31b1b939744ef947c3959458ce0678db9f0c /contrib | |
parent | daemon/worker: deduplicate inbound queries (diff) | |
download | knot-resolver-28b230823036b74872027545143db403f2456322.tar.xz knot-resolver-28b230823036b74872027545143db403f2456322.zip |
build: more checks for travis builds
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ccan/asprintf/asprintf.c | 2 | ||||
-rw-r--r-- | contrib/ccan/asprintf/asprintf.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/ccan/asprintf/asprintf.c b/contrib/ccan/asprintf/asprintf.c index e9e02d7d..9e66e134 100644 --- a/contrib/ccan/asprintf/asprintf.c +++ b/contrib/ccan/asprintf/asprintf.c @@ -16,7 +16,7 @@ char *PRINTF_FMT(1, 2) afmt(const char *fmt, ...) return ptr; } -#if !HAVE_ASPRINTF +#if !HAVE_ASPRINTF && !defined(__USE_FORTIFY_LEVEL) #include <stdarg.h> #include <stdlib.h> diff --git a/contrib/ccan/asprintf/asprintf.h b/contrib/ccan/asprintf/asprintf.h index 958e244b..37da83e9 100644 --- a/contrib/ccan/asprintf/asprintf.h +++ b/contrib/ccan/asprintf/asprintf.h @@ -12,7 +12,7 @@ */ char *PRINTF_FMT(1, 2) afmt(const char *fmt, ...); -#if HAVE_ASPRINTF +#if HAVE_ASPRINTF || defined(__USE_FORTIFY_LEVEL) #include <stdio.h> #else #include <stdarg.h> |