[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] tools/xenstore: define off_t



talloc.h uses off_t, but did not include <sys/types.h>
Fixes 7012548e0d ("xenstore: enhance control command support")

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
---
 tools/xenstore/talloc.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/xenstore/talloc.h b/tools/xenstore/talloc.h
index c849bf61af..71a36e7be0 100644
--- a/tools/xenstore/talloc.h
+++ b/tools/xenstore/talloc.h
@@ -24,6 +24,8 @@
    License along with this library; If not, see <http://www.gnu.org/licenses/>.
 */
 
+#include <sys/types.h>
+
 /* this is only needed for compatibility with the old talloc */
 typedef void TALLOC_CTX;
 

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.