aboutsummaryrefslogtreecommitdiffstats
path: root/common/xasprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/xasprintf.c')
-rw-r--r--common/xasprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/xasprintf.c b/common/xasprintf.c
index f16410dbd..a403c7b7c 100644
--- a/common/xasprintf.c
+++ b/common/xasprintf.c
@@ -24,8 +24,8 @@
#include "util.h"
#include "iobuf.h"
-#if !defined(_ESTREAM_PRINTF_MALLOC) || !defined(_ESTREAM_PRINTF_FREE)
-#error Need to define ESTREAM_PRINTF_MALLOC and _FREE
+#if !defined(_ESTREAM_PRINTF_REALLOC)
+#error Need to define _ESTREAM_PRINTF_REALLOC
#endif
/* Same as asprintf but return an allocated buffer suitable to be