diff options
Diffstat (limited to 'libavformat/img.c')
-rw-r--r-- | libavformat/img.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavformat/img.c b/libavformat/img.c index 139e0f48af..f5c45f2c63 100644 --- a/libavformat/img.c +++ b/libavformat/img.c @@ -26,9 +26,13 @@ #ifdef __BEOS__ # ifndef usleep # include <OS.h> -# define usleep(t) snooze((bigtime_t)(t)) +# define usleep(t) snooze((bigtime_t)(t)) # endif #endif +#if defined(CONFIG_OS2) +# include <stdlib.h> +# define usleep(t) _sleep2((t) / 1000) +#endif typedef struct { int width; |