From: FrodeSolheim Date: Tue, 15 Jul 2025 17:51:46 +0000 (+0200) Subject: Additional header fixes so a2091.h can be successfully included X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=66f6bbd4d8b610956e07a5c9742b04a0bd8ce07e;p=francis%2Fwinuae.git Additional header fixes so a2091.h can be successfully included --- diff --git a/include/a2091.h b/include/a2091.h index 45236073..91ec5f95 100644 --- a/include/a2091.h +++ b/include/a2091.h @@ -1,6 +1,8 @@ #ifndef UAE_A2091_H #define UAE_A2091_H +#include "commpipe.h" + #ifdef A2091 #define WD_STATUS_QUEUE 2 diff --git a/include/commpipe.h b/include/commpipe.h index 6b9de8e5..d764d9bc 100644 --- a/include/commpipe.h +++ b/include/commpipe.h @@ -10,6 +10,7 @@ #define UAE_COMMPIPE_H #include "uae/types.h" +#include "threaddep/thread.h" typedef union { int i; diff --git a/od-win32/threaddep/thread.h b/od-win32/threaddep/thread.h index 75a515ec..3ee97f81 100644 --- a/od-win32/threaddep/thread.h +++ b/od-win32/threaddep/thread.h @@ -1,3 +1,6 @@ +#ifndef THREADDEP_THREAD_H +#define THREADDEP_THREAD_H + typedef HANDLE uae_sem_t; typedef HANDLE uae_thread_id; @@ -21,3 +24,5 @@ STATIC_INLINE void uae_wait_thread(uae_thread_id tid) WaitForSingleObject (tid, INFINITE); CloseHandle (tid); } + +#endif /* THREADDEP_THREAD_H */