X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=include%2Fuccompat.h;h=f4f235967a94b13778aeeb3810c78f935e4e4d64;hp=fa3a2b7fb1e9413e23dcdde1b90ea7c9abb657c0;hb=35acc80f23f9f81f3145a686a9c7df4b622b25fe;hpb=a1a9e7f1909a21b98a6b21a660d5bc9bd9f11f81 diff --git a/include/uccompat.h b/include/uccompat.h index fa3a2b7..f4f2359 100644 --- a/include/uccompat.h +++ b/include/uccompat.h @@ -36,6 +36,11 @@ extern char * strrchr __P ((const char *, int)); extern pid_t getpid(void); extern int execv(const char *path, char *const argv[]); +extern void usleep_watchdevice(unsigned long usecs); +#define usleep(usecs) usleep_watchdevice((usecs)) +#define sleep(secs) usleep((secs)*1000000) + + #endif /* UCCOMPAT */