Skip to content

Commit f66508c

Browse files
committed
update realtime tools osx patch
Signed-off-by: wep21 <[email protected]>
1 parent 84d7084 commit f66508c

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

patch/ros-jazzy-realtime-tools.osx.patch

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,6 @@ diff --git a/src/realtime_helpers.cpp b/src/realtime_helpers.cpp
2424
index e55894c..e75e4c8 100644
2525
--- a/src/realtime_helpers.cpp
2626
+++ b/src/realtime_helpers.cpp
27-
@@ -30,12 +30,15 @@
28-
29-
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
30-
#include <sched.h>
31-
-#include <sys/capability.h>
32-
#include <sys/mman.h>
33-
34-
#include <unistd.h>
35-
#endif
36-
37-
+#if defined(__unix__)
38-
+#include <sys/capability.h>
39-
+#endif
40-
+
41-
#include <cstring>
42-
#include <fstream>
43-
4427
@@ -56,6 +59,19 @@ bool configure_sched_fifo(int priority)
4528
#ifdef _WIN32
4629
HANDLE thread = GetCurrentThread();

0 commit comments

Comments
 (0)