Index: src/shell.c
--- src/shell.c.orig	2014-12-14 15:13:08.000000000 +0100
+++ src/shell.c	2015-09-04 20:42:48.456728034 +0200
@@ -29,6 +29,8 @@
 #include "dirlist.h"
 #include "util.h"
 
+#include <sys/types.h>
+#include <sys/wait.h>
 #include <ncurses.h>
 #include <stdlib.h>
 #include <unistd.h>
