projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad0fd29
)
libgnttab/freebsd: add tools libs.h
author
Roger Pau Monne
<roger.pau@citrix.com>
Mon, 7 Sep 2020 10:18:05 +0000
(12:18 +0200)
committer
Wei 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
patch
|
blob
|
history
diff --git
a/tools/libs/gnttab/freebsd.c
b/tools/libs/gnttab/freebsd.c
index 0588501d0fd991af83bb1199e7709140e2a96635..768af701c61999f7c7d0ff40670458399a6dc048 100644
(file)
--- 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