From 4996c314b046821255685912c30474258b0b6b10 Mon Sep 17 00:00:00 2001 From: Richard Laager Date: Sat, 28 May 2011 20:56:22 -0500 Subject: [PATCH] Fix virExecWithHook Prototype This was necessary to get libvirt to build on Solaris 11 Express and seems correct (as it makes this match the definition in util.c): --- src/util/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/util.h b/src/util/util.h index e2b8eb361a..a1bcca07be 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -61,7 +61,7 @@ typedef int (*virExecHook)(void *data); int virExecWithHook(const char *const*argv, const char *const*envp, const fd_set *keepfd, - int *retpid, + pid_t *retpid, int infd, int *outfd, int *errfd, -- GitLab