--- a/src/ftmenu.c	2018-04-26 23:37:11.004875301 -0700
+++ b/src/ftmenu.c	2018-04-26 23:36:48.794546383 -0700
@@ -4,6 +4,7 @@
 #include <string.h>
 #include <stdio.h>
 #include <unistd.h>
+#include <stdlib.h>
 #include "ftmenu.h"
 
 GtkWidget *menu[MAX_MENU_DEPTH];