summaryrefslogtreecommitdiffstats
path: root/src/tools/g2
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/g2')
-rw-r--r--src/tools/g2/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/g2/main.c b/src/tools/g2/main.c
index a782e17f2ef..1ec7983acf5 100644
--- a/src/tools/g2/main.c
+++ b/src/tools/g2/main.c
@@ -21,6 +21,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
+#include <vppinfra/mem.h>
/*
* globals
@@ -62,6 +63,8 @@ int main (int argc, char **argv)
int curarg=1;
char *homedir;
+ clib_mem_init (0, ((uword)3<<30));
+
gtk_init(&argc, &argv);
homedir = getenv ("HOME");