From: Wei Liu Subject: Re: [PATCH for-4.6 1/3] libxl: include sys/endian.h for FreeBSD Date: Tue, 21 Jul 2015 10:36:39 +0100 Message-ID: <20150721093639.GO12455@zion.uk.xensource.com> References: <1437404102-7807-1-git-send-email-roger.pau@citrix.com> <1437404102-7807-2-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZHTye-0007G2-Ok for xen-devel@lists.xenproject.org; Tue, 21 Jul 2015 09:36:44 +0000 Content-Disposition: inline In-Reply-To: <1437404102-7807-2-git-send-email-roger.pau@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau Monne Cc: xen-devel@lists.xenproject.org, Ian Jackson , Ian Campbell , Wei Liu List-Id: xen-devel@lists.xenproject.org On Mon, Jul 20, 2015 at 04:55:00PM +0200, Roger Pau Monne wrote: > 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=E9 > Cc: Ian Jackson > Cc: Ian Campbell > Cc: Wei Liu Acked-by: Wei Liu > --- > tools/libxl/libxl_osdeps.h | 1 + > 1 file changed, 1 insertion(+) > = > diff --git a/tools/libxl/libxl_osdeps.h b/tools/libxl/libxl_osdeps.h > index 08eaf0c..b265df8 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 > -- = > 1.9.5 (Apple Git-50.3)