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

[xen staging] libgnttab/freebsd: add tools libs.h



commit 1be24cd17741192d1e18f24e6cf92f0ae9324e62
Author:     Roger Pau Monne <roger.pau@xxxxxxxxxx>
AuthorDate: Mon Sep 7 12:18:05 2020 +0200
Commit:     Wei Liu <wl@xxxxxxx>
CommitDate: Mon Sep 7 14:13:31 2020 +0000

    libgnttab/freebsd: add tools libs.h
    
    In order to get the ROUNDUP macro, or else the build fails. I assume
    ROUNDUP would previously get included from a different header.
    
    Seeing as Linux does explicitly include libs.h do the same for
    FreeBSD.
    
    Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
    Acked-by: Wei Liu <wl@xxxxxxx>
---
 tools/libs/gnttab/freebsd.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/libs/gnttab/freebsd.c b/tools/libs/gnttab/freebsd.c
index 0588501d0f..768af701c6 100644
--- a/tools/libs/gnttab/freebsd.c
+++ b/tools/libs/gnttab/freebsd.c
@@ -30,6 +30,8 @@
 
 #include <xen/sys/gntdev.h>
 
+#include <xen-tools/libs.h>
+
 #include "private.h"
 
 #define PAGE_SHIFT           12
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

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