--- gcpegg-5.1.orig/eggui.c
+++ gcpegg-5.1/eggui.c
@@ -37,6 +37,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <curses.h>
+#include <time.h>
+#include <string.h>
 
 /*  Curses takes it upon itself to define TRUE and FALSE,
     incompatibly, as it happens, with the definitions in
