Skip to contentSkip to conversation

libgnttab/freebsd: add tools libs.h

PATCH In review Roger Pau Monne 2 participants 2 messages Sep 7, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 tools/libs/gnttab/freebsd.c | 2 ++
 1 file changed, 2 insertions(+)
tools/libs/gnttab/freebsd.c +2 -0
index 0588501d0f..768af701c6 100644
@@ -30,6 +30,8 @@
 
 #include <xen/sys/gntdev.h>
 
+#include <xen-tools/libs.h>
+
 #include "private.h"
 
 #define PAGE_SHIFT           12
Signature · 1 line
2.28.0