]> xenbits.xensource.com Git - xen.git/commitdiff
tools/tests: fix resource test build on FreeBSD
authorRoger Pau Monne <roger.pau@citrix.com>
Fri, 5 Feb 2021 12:19:38 +0000 (13:19 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 5 Feb 2021 12:52:19 +0000 (12:52 +0000)
error.h is not a standard header, and none of the functions declared
there are actually used by the code. This fixes the build on FreeBSD
that doesn't have error.h

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/tests/resource/test-resource.c

index a409a82f4457731297217652937d19cf034b7aa1..1caaa60e62d9205d9bed86c15a8df841d1c7308b 100644 (file)
@@ -1,6 +1,5 @@
 #include <err.h>
 #include <errno.h>
-#include <error.h>
 #include <stdio.h>
 #include <string.h>
 #include <sys/mman.h>