xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tools: add missing header for xenctrl.h
@ 2016-04-01  2:46 Changlong Xie
  2016-04-01  2:52 ` Changlong Xie
  0 siblings, 1 reply; 9+ messages in thread
From: Changlong Xie @ 2016-04-01  2:46 UTC (permalink / raw)
  To: xen devel, Konrad Rzeszutek Wilk, Ian Jackson, Wei Liu
  Cc: Changlong Xie, Wen Congyang

Commit d275ec9c introduce ssize_t but not include relevant header,
it will cause compile errors just like below:

./include/xenctrl.h:1485: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'xc_version_len'

Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Changlong Xie <xiecl.fnst@cn.fujitsu.com>
---
 tools/libxc/include/xenctrl.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/libxc/include/xenctrl.h b/tools/libxc/include/xenctrl.h
index a9e4dc1..fb5c26c 100644
--- a/tools/libxc/include/xenctrl.h
+++ b/tools/libxc/include/xenctrl.h
@@ -31,6 +31,7 @@
 #include <stdint.h>
 #include <stdio.h>
 #include <stdbool.h>
+#include <unistd.h>
 #include <xen/xen.h>
 #include <xen/domctl.h>
 #include <xen/physdev.h>
-- 
1.9.3




_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-04-01 15:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-01  2:46 [PATCH] tools: add missing header for xenctrl.h Changlong Xie
2016-04-01  2:52 ` Changlong Xie
2016-04-01 10:04   ` Wei Liu
2016-03-31 11:25     ` [PATCH v2] tools/libxc: Fix build error when using xc_version_len Olaf Hering
2016-03-31 14:23       ` Konrad Rzeszutek Wilk
2016-03-31 14:33         ` Olaf Hering
2016-04-01 13:47       ` Wei Liu
2016-04-01 13:50       ` [PATCH v2] tools/libxc: Fix build error when using xc_version_len [and 2 more messages] Ian Jackson
2016-04-01 15:29         ` Olaf Hering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).