Skip to contentSkip to conversation

xl: fix compilation of xl_migrate.c

PATCH In review Roger Pau Monne 3 participants 3 messages Feb 28, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
Cc: Ian Jackson <[email protected]>
Cc: Wei Liu <[email protected]>

---
 tools/xl/xl_migrate.c | 1 +
 1 file changed, 1 insertion(+)
tools/xl/xl_migrate.c +1 -0
index 50145ab..28fb823 100644
@@ -14,6 +14,7 @@
 
 #include <fcntl.h>
 #include <inttypes.h>
+#include <signal.h>
 #include <stdlib.h>
 #include <sys/stat.h>
 #include <sys/types.h>
Signature · 7 lines
2.10.1 (Apple Git-78)


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Acked-by on v1 1/1
#2 lore raw
In reply to Roger Pau Monne

Roger Pau Monne writes ("[PATCH] xl: fix compilation of xl_migrate.c"):

Quoted 5 lines

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.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel