File predict-mkdir-fix.patch of Package predict
Index: predict-2.3.1/predict.c
===================================================================
--- predict-2.3.1.orig/predict.c
+++ predict-2.3.1/predict.c
@@ -35,6 +35,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <termios.h>
+#include <sys/stat.h>
#include "predict.h"
#if defined __has_include
@@ -6839,8 +6840,6 @@ void ProgramInfo (void)
void NewUser (void)
{
- int *mkdir();
-
Banner();
attrset(COLOR_PAIR(3)|A_BOLD);