ports/net/xmlrpc-c/patches/patch-lib_libutil_asprintf_c

8 lines
272 B
Text

Index: lib/libutil/asprintf.c
--- lib/libutil/asprintf.c.orig
+++ lib/libutil/asprintf.c
@@ -1,4 +1,3 @@
-#define _XOPEN_SOURCE 600 /* Make sure strdup() is in <string.h> */
#define _GNU_SOURCE /* But only when HAVE_ASPRINTF */
#include <stdarg.h>
#include <stdio.h>