diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-06 11:32:12 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-06 11:32:12 +0000 |
commit | 421d5e0c61640ab56e67fc0ddbfe67de4332ce8e (patch) | |
tree | 841f77bf3a44337b3bdcada88d63ba6bbb47ed43 /vcl | |
parent | ba8e95d0e86682349f377480e65fbf4641ef27f2 (diff) |
we the fuzzers headless of course
Change-Id: Ib5d2ace4501840e554c03a6f6c1506ceb920039c
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/workben/wmffuzzer.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/workben/wmffuzzer.cxx b/vcl/workben/wmffuzzer.cxx index e685465b4a76..ac834cc61401 100644 --- a/vcl/workben/wmffuzzer.cxx +++ b/vcl/workben/wmffuzzer.cxx @@ -19,7 +19,7 @@ #include <vcl/svapp.hxx> #include <vcl/wmf.hxx> #include <unistd.h> -#include <signal.h> +#include <stdlib.h> using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; @@ -27,6 +27,8 @@ using namespace cppu; extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) { + setenv("SAL_USE_VCLPLUGIN", "svp", 1); + osl_setCommandArgs(*argc, *argv); tools::extendApplicationEnvironment(); |