Message ID | 20170228173104.69282-1-roger.pau@citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, Feb 28, 2017 at 05:31:04PM +0000, Roger Pau Monne wrote: > The usage of signal(3) requires the inclusion of the signal.h header: > > http://pubs.opengroup.org/onlinepubs/9699919799/functions/signal.html > > This fixes the build on FreeBSD. > > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Acked + applied.
Roger Pau Monne writes ("[PATCH] xl: fix compilation of xl_migrate.c"): > The usage of signal(3) requires the inclusion of the signal.h header: > > http://pubs.opengroup.org/onlinepubs/9699919799/functions/signal.html > > This fixes the build on FreeBSD. Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
diff --git a/tools/xl/xl_migrate.c b/tools/xl/xl_migrate.c index 50145ab..28fb823 100644 --- a/tools/xl/xl_migrate.c +++ b/tools/xl/xl_migrate.c @@ -14,6 +14,7 @@ #include <fcntl.h> #include <inttypes.h> +#include <signal.h> #include <stdlib.h> #include <sys/stat.h> #include <sys/types.h>
The usage of signal(3) requires the inclusion of the signal.h header: http://pubs.opengroup.org/onlinepubs/9699919799/functions/signal.html This fixes the build on FreeBSD. Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> --- Cc: Ian Jackson <ian.jackson@eu.citrix.com> Cc: Wei Liu <wei.liu2@citrix.com> --- tools/xl/xl_migrate.c | 1 + 1 file changed, 1 insertion(+)