]> git.proxmox.com Git - mirror_frr.git/blobdiff - qpb/qpb_allocator.c
Merge pull request #6317 from rgirada/fix_route_dump
[mirror_frr.git] / qpb / qpb_allocator.c
index 8b0ee941a5a858c8bb1f8b9798035bfcfbb5dbf7..aca611ba1952cef41179e371eccbfff443045bda 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "linear_allocator.h"
 
 #include "qpb_allocator.h"
@@ -42,8 +46,7 @@ static void _qpb_free(void *allocator_data, void *ptr)
        linear_allocator_free(allocator_data, ptr);
 }
 
-static ProtobufCAllocator allocator_template = {_qpb_alloc, _qpb_free, NULL,
-                                               8192, NULL};
+static ProtobufCAllocator allocator_template = {_qpb_alloc, _qpb_free, NULL};
 
 /*
  * qpb_allocator_init_linear