]> xenbits.xensource.com Git - people/jgross/xen.git/commitdiff
libgnttab/freebsd: add tools libs.h
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 7 Sep 2020 10:18:05 +0000 (12:18 +0200)
committerWei Liu <wl@xen.org>
Mon, 7 Sep 2020 14:13:31 +0000 (14:13 +0000)
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@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
tools/libs/gnttab/freebsd.c

index 0588501d0fd991af83bb1199e7709140e2a96635..768af701c61999f7c7d0ff40670458399a6dc048 100644 (file)
@@ -30,6 +30,8 @@
 
 #include <xen/sys/gntdev.h>
 
+#include <xen-tools/libs.h>
+
 #include "private.h"
 
 #define PAGE_SHIFT           12