# | Line 44 | Line 44 | |
---|---|---|
44 | #include <string.h> | |
45 | #include <signal.h> | |
46 | ||
47 | + | #ifdef HAVE_PTHREADS |
48 | + | # include <pthread.h> |
49 | + | #endif |
50 | + | |
51 | #ifdef HAVE_FCNTL_H | |
52 | # include <fcntl.h> | |
53 | #endif | |
# | Line 356 | Line 360 | typedef struct timeval tm_time_t; | |
360 | extern uint64 GetTicks_usec(void); | |
361 | extern void Delay_usec(uint32 usec); | |
362 | ||
363 | + | #ifdef HAVE_PTHREADS |
364 | // Setup pthread attributes | |
365 | extern void Set_pthread_attr(pthread_attr_t *attr, int priority); | |
366 | + | #endif |
367 | ||
368 | // Various definitions | |
369 | typedef struct rgb_color { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |