[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v3 2/2] define GNU_SOURCE for asprintf()
#define _GNU_SOURCE to get for asprintf() prototype on Linux. Harmless on NetBSD. Signed-off-by: Manuel Bouyer <bouyer@xxxxxxxxxx> --- tools/xenpmd/xenpmd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/xenpmd/xenpmd.c b/tools/xenpmd/xenpmd.c index e432aad856..8e783181e1 100644 --- a/tools/xenpmd/xenpmd.c +++ b/tools/xenpmd/xenpmd.c @@ -32,6 +32,7 @@ * passed to the guest when appropriate battery ports are read/written to. */ +#define _GNU_SOURCE /* for asprintf() */ #include <stdio.h> #include <stdarg.h> #include <string.h> -- 2.29.2
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |