From: Roger Pau Monne Date: Mon, 20 Jul 2015 14:55:00 +0000 (+0200) Subject: libxl: include sys/endian.h for FreeBSD X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~2744 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4c5cd51df95c41d3ba7f14f49c7918697971df5a;p=xen.git libxl: include sys/endian.h for FreeBSD be64toh and friends are declared in sys/endian.h on FreeBSD, so include it as part of libxl_osdeps.h. Signed-off-by: Roger Pau Monné Cc: Ian Jackson Cc: Ian Campbell Cc: Wei Liu Acked-by: Wei Liu --- diff --git a/tools/libxl/libxl_osdeps.h b/tools/libxl/libxl_osdeps.h index 08eaf0c201..b265df89cf 100644 --- a/tools/libxl/libxl_osdeps.h +++ b/tools/libxl/libxl_osdeps.h @@ -42,6 +42,7 @@ #define SYSFS_PCIBACK_DRIVER "/dev/null" #define NETBACK_NIC_NAME "xnb%u.%d" #include +#include #endif #ifndef SYSFS_PCIBACK_DRIVER