Skip to content

Commit a68a231

Browse files
authored
Merge pull request #94 from heucheld/heuchel_raw_macos_fix
Added unistd.h for MacOS in TRestRawMemoryBufferToSignalProcess.cxx
2 parents 952c92d + 7b9596d commit a68a231

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/TRestRawMemoryBufferToSignalProcess.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ using namespace std;
112112
#include <sys/sem.h>
113113
#include <sys/shm.h>
114114

115+
#ifdef __APPLE__
116+
#include <unistd.h>
117+
#endif
118+
115119
#if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)) || __APPLE__
116120
// The union is already defined in sys/sem.h
117121
#else

0 commit comments

Comments
 (0)