- Made sure that the files that contains the declarations
of implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
diff --git a/msdos/dosconf.c b/msdos/dosconf.c
index 0e7ee44..1f6c18b 100644
--- a/msdos/dosconf.c
+++ b/msdos/dosconf.c
@@ -5,16 +5,22 @@
*
*/
+#include "config.h"
+
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
+
#include "winbase.h"
-#include "msdos.h"
-#include "debugtools.h"
-#include "options.h"
+
#include "file.h"
+#include "miscemu.h"
+#include "msdos.h"
+#include "options.h"
+
+#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(profile);
diff --git a/msdos/int29.c b/msdos/int29.c
index cf50a0b..8ffaa56 100644
--- a/msdos/int29.c
+++ b/msdos/int29.c
@@ -3,9 +3,11 @@
*/
#include "config.h"
-#include "windef.h"
+
#include "winnt.h"
+
#include "console.h"
+#include "miscemu.h"
/**********************************************************************
* INT_Int29Handler
diff --git a/msdos/ppdev.c b/msdos/ppdev.c
index c8b49fc..78a102a 100644
--- a/msdos/ppdev.c
+++ b/msdos/ppdev.c
@@ -4,11 +4,7 @@
#include "config.h"
-#include "debugtools.h"
-
-DEFAULT_DEBUG_CHANNEL(int);
-
-#ifdef HAVE_PPDEV
+#ifdef HAVE_PPDEV
#include <stdlib.h>
#include <sys/types.h>
@@ -21,6 +17,11 @@
#include "winerror.h"
#include "winreg.h"
+#include "miscemu.h"
+
+#include "debugtools.h"
+
+DEFAULT_DEBUG_CHANNEL(int);
typedef struct _PPDEVICESTRUCT{
int fd; /* NULL if device not available */
@@ -272,6 +273,8 @@
#else /* HAVE_PPDEV */
+#include "windef.h"
+
char IO_pp_init(void)
{
return 1;