Skip to content

Commit de6d31a

Browse files
committed
osaThread: added missing include for Ubuntu 24.04
1 parent 32234ab commit de6d31a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cisstOSAbstraction/osaThread.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ no warranty. The complete license can be found in license.txt and
3939
#define SCHED_FIFO 0 /*! No Scheduling Policy available in Windows */
4040
#endif
4141

42-
#if (CISST_OS == CISST_DARWIN) // SCHED_FIFO is not defined otherwise
42+
// SCHED_FIFO is not defined otherwise
43+
#if (CISST_OS == CISST_LINUX) || (CISST_OS == CISST_DARWIN)
4344
#include <pthread.h>
4445
#endif
4546

0 commit comments

Comments
 (0)