Blame pcsxr-1.9.94-missinginclude.patch

Mystro256 b18fd95
--- a/gui/GtkGui.c
Mystro256 b18fd95
+++ b/gui/GtkGui.c
Mystro256 b18fd95
@@ -33,6 +33,7 @@
Mystro256 b18fd95
 
Mystro256 b18fd95
 #include "../libpcsxcore/plugins.h"
Mystro256 b18fd95
 #include "../libpcsxcore/cheat.h"
Mystro256 b18fd95
+#include "../libpcsxcore/cdrom.h"
Mystro256 b18fd95
 
Mystro256 b18fd95
 #include "MemcardDlg.h"
Mystro256 b18fd95
 #include "ConfDlg.h"
Mystro256 5535260
--- a/plugins/bladesio1/sio1.c
Mystro256 5535260
+++ b/plugins/bladesio1/sio1.c
Mystro256 5535260
@@ -30,7 +30,10 @@
Mystro256 5535260
 void AboutDlgProc();
Mystro256 5535260
 void ConfDlgProc();
Mystro256 5535260
 #else
Mystro256 5535260
+#include <unistd.h>
Mystro256 5535260
 #include <sys/stat.h>
Mystro256 5535260
+#include <sys/types.h>
Mystro256 5535260
+#include <sys/wait.h>
Mystro256 5535260
 #endif
Mystro256 5535260
 
Mystro256 5535260
 #include "typedefs.h"
Mystro256 5535260
--- a/plugins/dfcdrom/cdr.c
Mystro256 5535260
+++ b/plugins/dfcdrom/cdr.c
Mystro256 5535260
@@ -20,6 +20,8 @@
Mystro256 5535260
  */
Mystro256 5535260
 
Mystro256 5535260
 #include "cdr.h"
Mystro256 5535260
+#include <sys/types.h>
Mystro256 5535260
+#include <sys/wait.h>
Mystro256 5535260
 
Mystro256 5535260
 #ifndef USE_NULL
Mystro256 5535260
 static char *LibName = N_("CD-ROM Drive Reader");
Mystro256 5535260
--- a/plugins/dfinput/pad.c
Mystro256 5535260
+++ b/plugins/dfinput/pad.c
Mystro256 5535260
@@ -22,6 +22,8 @@
Mystro256 5535260
 #include <sys/file.h>
Mystro256 5535260
 #include <time.h>
Mystro256 5535260
 #endif
Mystro256 5535260
+#include <sys/types.h>
Mystro256 5535260
+#include <sys/wait.h>
Mystro256 5535260
 
Mystro256 5535260
 #if SDL_VERSION_ATLEAST(2,0,0)
Mystro256 5535260
 int has_haptic;
Mystro256 5535260
--- a/plugins/dfsound/cfg.c
Mystro256 5535260
+++ b/plugins/dfsound/cfg.c
Mystro256 5535260
@@ -26,6 +26,8 @@
Mystro256 5535260
 ////////////////////////////////////////////////////////////////////////
Mystro256 5535260
 
Mystro256 5535260
 #include <unistd.h>
Mystro256 5535260
+#include <sys/types.h>
Mystro256 5535260
+#include <sys/wait.h>
Mystro256 5535260
 
Mystro256 5535260
 ////////////////////////////////////////////////////////////////////////
Mystro256 5535260
 // START EXTERNAL CFG TOOL
Mystro256 5535260
--- a/plugins/dfxvideo/cfg.c
Mystro256 5535260
+++ b/plugins/dfxvideo/cfg.c
Mystro256 5535260
@@ -20,6 +20,8 @@
Mystro256 5535260
 #include <sys/stat.h>
Mystro256 5535260
 #include <unistd.h>
Mystro256 5535260
 #include <stdlib.h>
Mystro256 5535260
+#include <sys/types.h>
Mystro256 5535260
+#include <sys/wait.h>
Mystro256 5535260
 
Mystro256 5535260
 #undef FALSE
Mystro256 5535260
 #undef TRUE
Mystro256 5535260
--- a/plugins/peopsxgl/stdafx.h
Mystro256 5535260
+++ b/plugins/peopsxgl/stdafx.h
Mystro256 5535260
@@ -62,6 +62,8 @@
Mystro256 5535260
 #include <unistd.h>
Mystro256 5535260
 #include <sys/stat.h>
Mystro256 5535260
 #include <sys/time.h>
Mystro256 5535260
+#include <sys/types.h>
Mystro256 5535260
+#include <sys/wait.h>
Mystro256 5535260
 #include <GL/gl.h>
Mystro256 5535260
 #include <GL/glx.h>
Mystro256 5535260
 #include <math.h>