$NetBSD: patch-aa,v 1.1.1.1 2011/04/05 05:34:16 agc Exp $

Depending on the definition of LZF_STATE_ARG, lzf can grow an extra arg.
Accommodate.

--- snappy_unittest.cc	2011/03/23 19:16:06	1.1
+++ snappy_unittest.cc	2011/03/23 19:21:09
@@ -154,10 +154,17 @@
 #ifdef LZF_VERSION
     case LIBLZF: {
       compressed->resize(input_size - 1);
+#  ifdef LZF_STATE_ARG
+      LZF_STATE htab;
+#  endif
       int destlen = lzf_compress(input,
                                  input_size,
                                  string_as_array(compressed),
-                                 input_size - 1);
+                                 input_size - 1
+#  ifdef LZF_STATE_ARG
+				 , htab
+#  endif
+				 );
       if (destlen == 0) {
         // lzf *can* cause lots of blowup when compressing, so they
         // recommend to limit outsize to insize, and just not compress
