Re: [Spice-devel] [PATCH 1/2] Fix build for systems without LZ4 dependency installed

2016-06-15 Thread Eduardo Lima (Etrunko)
On 06/15/2016 02:45 PM, Eduardo Lima (Etrunko) wrote: > This was introduced by commit 903c91cd3013c763abd3f2292f8fbd911a0c83f0. > To fix it, we simply protect the try_compress_lz4 function with proper > The commit message should read "... with proper #ifdef guards." , but it was ignored because I

[Spice-devel] [PATCH 1/2] Fix build for systems without LZ4 dependency installed

2016-06-15 Thread Eduardo Lima (Etrunko)
This was introduced by commit 903c91cd3013c763abd3f2292f8fbd911a0c83f0. To fix it, we simply protect the try_compress_lz4 function with proper Build log: spicevmc.c: In function 'try_compress_lz4': spicevmc.c:143:5: error: implicit declaration of function 'LZ4_compress_default' [-Werror=implicit