diff options
author | Michael Hanselmann <public@hansmi.ch> | 2021-06-07 21:02:23 +0200 |
---|---|---|
committer | Michael Hanselmann <public@hansmi.ch> | 2021-06-07 21:03:37 +0200 |
commit | 75d942e5690fa0181934789d25b8088c4a461f23 (patch) | |
tree | ad2ff90d156e20497b157c1279a97f038dc5be2a | |
parent | a362e7cdf4e82a59d6ab322965fc7ff6bbcd2bdb (diff) |
Include errno.h in filter test
The filter test is failing to build in the OSS-fuzz environment:
```
../../src/spice-usbredir/tests/filter.c:63:38: error: use of undeclared identifier 'EINVAL'
g_assert_cmpint(retval, ==, -EINVAL);
^
1 error generated.
```
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
-rw-r--r-- | tests/filter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/filter.c b/tests/filter.c index a85fe06..2ddd4c1 100644 --- a/tests/filter.c +++ b/tests/filter.c @@ -15,6 +15,7 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#include <errno.h> #include <locale.h> #include <glib.h> #include <stdlib.h> |