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 |
360 |
|
extern uint64 GetTicks_usec(void); |
361 |
|
extern void Delay_usec(uint32 usec); |
362 |
|
|
363 |
+ |
#if defined(HAVE_PTHREADS) || (defined(__linux__) && defined(__powerpc__)) |
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 { |