On Thu, Dec 22, 2016 at 2:54 AM, Wei Liu <wei.l...@citrix.com> wrote: > On Tue, Dec 20, 2016 at 11:47:00AM -0800, Alistair Francis wrote: >> To avoid build errors related to missing file 'sys/sysctl.h' by removing >> the #include statement. >> >> Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com> > > I can find this in Linux. Maybe this is also due to the libc you're > using?
Yes, I think you are right. I am using musl when I see the error. > > On the flip side, if this header is unused anyway I think I'm fine with > taking this patch. Thanks, that is what I was thinking too. Thanks, Alistair > >> --- >> tools/blktap2/drivers/block-remus.c | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/tools/blktap2/drivers/block-remus.c >> b/tools/blktap2/drivers/block-remus.c >> index 079588d..7401800 100644 >> --- a/tools/blktap2/drivers/block-remus.c >> +++ b/tools/blktap2/drivers/block-remus.c >> @@ -54,7 +54,6 @@ >> #include <netinet/in.h> >> #include <arpa/inet.h> >> #include <sys/param.h> >> -#include <sys/sysctl.h> >> #include <unistd.h> >> #include <sys/stat.h> >> >> -- >> 2.7.4 >> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel