diff --git a/src/SharedMemory.h b/src/SharedMemory.h index c15fef4..4d45ccd 100644 --- a/src/SharedMemory.h +++ b/src/SharedMemory.h @@ -2,12 +2,14 @@ #define SHARED_MEMORY_H #include "internal.hpp" //NOLINT +#include #include //ID-Speicherbereich //Größe des Speicherbereichs hier 8MB (8000) //Shared-Memory-Segment erstellen oder öffnen – shmget() constexpr int Max_Memory_Size (8000 * 512); +const std::string configFile ("../res/config.toml"); void deleteSharedMemory(int s); void deleteSharedMemory(); void initSharedMemory(); @@ -15,5 +17,5 @@ void getConfig(); key_t changedKey(); std::string getAnswerFromUser(); //Config File -#define configFile "../res/config.toml" + #endif //SHARED_MEMORY_H