]> xenbits.xensource.com Git - xen.git/commitdiff
tools/xenstore: define off_t
authorOlaf Hering <olaf@aepfle.de>
Fri, 3 Mar 2017 08:52:09 +0000 (08:52 +0000)
committerWei Liu <wei.liu2@citrix.com>
Fri, 3 Mar 2017 19:04:46 +0000 (19:04 +0000)
talloc.h uses off_t, but did not include <sys/types.h>.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/xenstore/talloc.h

index c849bf61afd9886fc3856310ceccde76077ecbdf..71a36e7be06b81583276ac0d20cbd231f0666207 100644 (file)
@@ -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;