*** common/osdep.h.old	2011-05-17 23:45:06.000000000 +0300
--- common/osdep.h	2011-05-18 13:00:57.015625000 +0300
***************
*** 309,314 ****
--- 309,316 ----
      sp.sched_priority -= p;\
      pthread_setschedparam( handle, policy, &sp );\
  }
+ #elif SYS_AMIGAOS
+ #define x264_lower_thread_priority(p)
  #else
  #include <unistd.h>
  #define x264_lower_thread_priority(p) { UNUSED int nice_ret = nice(p); }
