1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 12:02:14 +00:00

SCP: Fold up include files used by all simulators

- Add common system includes used in may places which are allowed
  and thus added directly in sim_defs.h.
- Separate completely private system data structures and system APIs
  for use only by SCP library routines into sim_scp_private.h.
This commit is contained in:
Mark Pizzolato
2023-03-04 14:53:47 -10:00
parent bdf28cf7f8
commit 194b313179
20 changed files with 353 additions and 302 deletions

View File

@@ -41,9 +41,6 @@ extern "C" {
#if defined(__struct_timespec_defined)
#define _TIMESPEC_DEFINED
#endif
#if defined(SIM_ASYNCH_IO) || defined(USE_READER_THREAD)
#include <pthread.h>
#endif
#if defined (__APPLE__)
#define HAVE_STRUCT_TIMESPEC /* OSX defined the structure but doesn't tell us */