Commit 76c6cd03 authored by Jan Lindström's avatar Jan Lindström

Fixed compiler error if LZO is not installed.

parent ff3f63c3
...@@ -228,7 +228,7 @@ struct os_aio_slot_t{ ...@@ -228,7 +228,7 @@ struct os_aio_slot_t{
#ifdef HAVE_LZO #ifdef HAVE_LZO
byte lzo_mem[LZO1X_1_15_MEM_COMPRESS]; byte lzo_mem[LZO1X_1_15_MEM_COMPRESS];
#else #else
byte lzo_mem; /* Temporal memory used by LZO */ byte lzo_mem[1]; /* Temporal memory used by LZO */
#endif #endif
}; };
......
...@@ -237,7 +237,7 @@ struct os_aio_slot_t{ ...@@ -237,7 +237,7 @@ struct os_aio_slot_t{
#ifdef HAVE_LZO #ifdef HAVE_LZO
byte lzo_mem[LZO1X_1_15_MEM_COMPRESS]; byte lzo_mem[LZO1X_1_15_MEM_COMPRESS];
#else #else
byte lzo_mem; /* Temporal memory used by LZO */ byte lzo_mem[1]; /* Temporal memory used by LZO */
#endif #endif
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment