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

9 lines
272 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
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>