From: Ian Jackson Subject: Re: [PATCH for-xen-4.5] libxl: include sys/ioctl.h Date: Fri, 10 Oct 2014 16:04:04 +0100 Message-ID: <21559.62820.271072.744531@mariner.uk.xensource.com> References: <1412951677-7920-1-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Xcbkd-0004T0-7P for xen-devel@lists.xenproject.org; Fri, 10 Oct 2014 15:05:10 +0000 In-Reply-To: <1412951677-7920-1-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: Wei Liu , Lai Jiangshan , Wen Congyang , xen-devel@lists.xenproject.org, Yang Hongyang , Ian Campbell List-Id: xen-devel@lists.xenproject.org Roger Pau Monne writes ("[PATCH for-xen-4.5] libxl: include sys/ioctl.h"): > This is a requirement for the code in libxl_remus_disk_drbd.c that uses the > ioctl syscall. Fixes the following error when building on FreeBSD: > > libxl_remus_disk_drbd.c: In function 'drbd_postsuspend': > libxl_remus_disk_drbd.c:197:9: error: implicit declaration of function 'ioctl' [-Werror=implicit-function-declaration] Acked-by: Ian Jackson