about summary refs log tree commit diff
path: root/lib/util/vasprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/vasprintf.c')
-rw-r--r--lib/util/vasprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/vasprintf.c b/lib/util/vasprintf.c
index e074befb..7baf06f2 100644
--- a/lib/util/vasprintf.c
+++ b/lib/util/vasprintf.c
@@ -7,7 +7,7 @@
 
 #include "nstring.h"
 
-#if (defined(__GLIBC__) || defined(__GNU_LIBRARY__))
+#if (defined(__GLIBC__) || defined(__GNU_LIBRARY__) || defined(__APPLE__))
   #define HAVE_VASPRINTF 1
 #else
   #define HAVE_VASPRINTF 0