From 49eccc768aaf4c2091d971f8a797202ca4839e09 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Fri, 7 Apr 2023 09:42:30 -1000 Subject: [PATCH] SCP: Include all simh supported system includes in sim_defs.h Only SCP libraries should be including additional OS specific include files since they cover both: 1) Are responsible for platform specific details integrated into simh support and 2) Implement extended functionality optimally considering the proper behaviors to cooperate with the simh event system and existing capabilities. Simulator code can optionally include any of these system include files: , , , , , . , , , Such inclusion will be redundant with what is already provided here by sim_defs.h. Simulator code should include SCP provided include files: "scp.h", "sim_card.h", "sim_console.h", "sim_disk.h", "sim_ether.h", "sim_fio.h", "sim_imd.h", "sim_scsi.h", "sim_serial.h", "sim_tape.h", "sim_timer.h", "sim_tmxr.h", "sim_video.h" depending on the specific needs of the device being simulated. --- sim_defs.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sim_defs.h b/sim_defs.h index f72106f1..d529fac3 100644 --- a/sim_defs.h +++ b/sim_defs.h @@ -136,6 +136,9 @@ extern int sim_vax_snprintf(char *buf, size_t buf_size, const char *fmt, ...); #include #include #include +#include +#include + #ifndef EXIT_FAILURE #define EXIT_FAILURE 1