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

[Xen-changelog] [xen master] tools/xenstore: define off_t



commit 9d686d1269faea0447f48ed2ce789c4a06756e07
Author:     Olaf Hering <olaf@xxxxxxxxx>
AuthorDate: Fri Mar 3 08:52:09 2017 +0000
Commit:     Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Fri Mar 3 19:04:46 2017 +0000

    tools/xenstore: define off_t
    
    talloc.h uses off_t, but did not include <sys/types.h>.
    
    Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
    Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 tools/xenstore/talloc.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/xenstore/talloc.h b/tools/xenstore/talloc.h
index c849bf6..71a36e7 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;
 
--
generated by git-patchbot for /home/xen/git/xen.git#master

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

 


Rackspace

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