Skip to content

Commit

Permalink
Fix compilation fixes Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ben committed Aug 11, 2024
1 parent f95a0ce commit b2745e7
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions sh_mem/ProcCommunicator.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "ProcCommunicator.h"
#include <iostream>
#include <unistd.h>
#include <fcntl.h>

static constexpr int SEMAPHORE_DISABLED = 0;
static constexpr int SEMAPHORE_ENABLED = 1;
Expand Down
1 change: 0 additions & 1 deletion sh_mem/SharedMemoryReceiver.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <iostream>
#include <cstdlib>
#include <cstring>
#include <unistd.h>
#include <sys/mman.h>
#include <fcntl.h>
Expand Down
1 change: 1 addition & 0 deletions sh_mem/SharedMemoryReceiver.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once
#include <semaphore.h>
#include <string>
#include "Message.hpp"

class SharedMemoryReceiver
Expand Down
1 change: 0 additions & 1 deletion sh_mem/SharedMemorySender.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <iostream>
#include <cstdlib>
#include <cstring>
#include <unistd.h>
#include <sys/mman.h>
#include <fcntl.h>
Expand Down
1 change: 1 addition & 0 deletions sh_mem/SharedMemorySender.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once
#include <semaphore.h>
#include <string>
#include "Message.hpp"

class SharedMemorySender
Expand Down

0 comments on commit b2745e7

Please sign in to comment.