[PATCH] Add some missing include directives |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- Subject: [PATCH] Add some missing include directives
- From: Thorsten Otto <admin@xxxxxxxxxxx>
- Date: Wed, 4 Dec 2019 01:41:52 +0100
---
src/gemdos.c | 1 +
src/ide.c | 1 +
src/inffile.c | 1 +
src/lilo.c | 1 +
tests/debugger/test-dummies.c | 1 +
5 files changed, 5 insertions(+)
diff --git a/src/gemdos.c b/src/gemdos.c
index 1450c518..c9e028ae 100644
--- a/src/gemdos.c
+++ b/src/gemdos.c
@@ -39,6 +39,7 @@ const char Gemdos_fileid[] = "Hatari gemdos.c : " __DATE__ " " __TIME__;
#include <ctype.h>
#include <unistd.h>
#include <errno.h>
+#include <inttypes.h>
#include "main.h"
#include "cart.h"
diff --git a/src/ide.c b/src/ide.c
index 68ddc604..b4461aa7 100644
--- a/src/ide.c
+++ b/src/ide.c
@@ -13,6 +13,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
+#include <inttypes.h>
#include "main.h"
#include "configuration.h"
diff --git a/src/inffile.c b/src/inffile.c
index 0f371442..ff59013e 100644
--- a/src/inffile.c
+++ b/src/inffile.c
@@ -11,6 +11,7 @@ const char INFFILE_fileid[] = "Hatari inffile.c : " __DATE__ " " __TIME__;
#include <SDL_endian.h>
#include <assert.h>
#include <errno.h>
+#include <ctype.h>
#include "main.h"
#include "configuration.h"
diff --git a/src/lilo.c b/src/lilo.c
index ff6e664d..07c7ad2a 100644
--- a/src/lilo.c
+++ b/src/lilo.c
@@ -213,6 +213,7 @@ struct bi_record {
#define NUM_MEMINFO 4
#define CL_SIZE (256)
+#undef PAGE_SIZE
#define PAGE_SIZE 4096
#define M68K_EMUL_RESET 0x7102
diff --git a/tests/debugger/test-dummies.c b/tests/debugger/test-dummies.c
index 1ca02b00..53d45906 100644
--- a/tests/debugger/test-dummies.c
+++ b/tests/debugger/test-dummies.c
@@ -3,6 +3,7 @@
*/
/* fake tracing flags */
+#include <stdio.h>
#include "log.h"
Uint64 LogTraceFlags = 0;
FILE *TraceFile;
--
2.21.0
--nextPart5286204.EHH6NQevxz--