projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff522e2
)
tools/tests: fix resource test build on FreeBSD
author
Roger Pau Monne
<roger.pau@citrix.com>
Fri, 5 Feb 2021 12:19:38 +0000
(13:19 +0100)
committer
Andrew 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
patch
|
blob
|
history
diff --git
a/tools/tests/resource/test-resource.c
b/tools/tests/resource/test-resource.c
index a409a82f4457731297217652937d19cf034b7aa1..1caaa60e62d9205d9bed86c15a8df841d1c7308b 100644
(file)
--- a/
tools/tests/resource/test-resource.c
+++ b/
tools/tests/resource/test-resource.c
@@
-1,6
+1,5
@@
#include <err.h>
#include <errno.h>
-#include <error.h>
#include <stdio.h>
#include <string.h>
#include <sys/mman.h>