Skip to contentSkip to conversation

tools/xenstore: define off_t

PATCH In review Olaf Hering 2 participants 2 messages Mar 3, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/xenstore: define off_t

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

---
 tools/xenstore/talloc.h | 2 ++
 1 file changed, 2 insertions(+)
tools/xenstore/talloc.h +2 -0
index c849bf61af..71a36e7be0 100644
@@ -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
[email protected]
https://lists.xen.org/xen-devel

Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Olaf Hering

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

I think this issue is exposed by that particular commit. That commit is fine in itself. So I would simply delete the "Fixes ..." part.

Quoted 2 lines

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