Skip to content

Commit

Permalink
osaThread: added missing include for Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
adeguet1 committed Sep 9, 2024
1 parent 32234ab commit de6d31a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cisstOSAbstraction/osaThread.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ no warranty. The complete license can be found in license.txt and
#define SCHED_FIFO 0 /*! No Scheduling Policy available in Windows */
#endif

#if (CISST_OS == CISST_DARWIN) // SCHED_FIFO is not defined otherwise
// SCHED_FIFO is not defined otherwise
#if (CISST_OS == CISST_LINUX) || (CISST_OS == CISST_DARWIN)
#include <pthread.h>
#endif

Expand Down

0 comments on commit de6d31a

Please sign in to comment.