* [PATCH] libgnttab/freebsd: add tools libs.h
@ 2020-09-07 10:18 Roger Pau Monne
2020-09-07 14:12 ` Wei Liu
0 siblings, 1 reply; 2+ messages in thread
From: Roger Pau Monne @ 2020-09-07 10:18 UTC (permalink / raw)
To: xen-devel; +Cc: Roger Pau Monne, Ian Jackson, Wei Liu
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>
---
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
--
2.28.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] libgnttab/freebsd: add tools libs.h
2020-09-07 10:18 [PATCH] libgnttab/freebsd: add tools libs.h Roger Pau Monne
@ 2020-09-07 14:12 ` Wei Liu
0 siblings, 0 replies; 2+ messages in thread
From: Wei Liu @ 2020-09-07 14:12 UTC (permalink / raw)
To: Roger Pau Monne; +Cc: xen-devel, Ian Jackson, Wei Liu
On Mon, Sep 07, 2020 at 12:18:05PM +0200, Roger Pau Monne wrote:
> 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>
And applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-07 14:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-07 10:18 [PATCH] libgnttab/freebsd: add tools libs.h Roger Pau Monne
2020-09-07 14:12 ` Wei Liu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.