X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=include%2Fuccompat.h;h=f4f235967a94b13778aeeb3810c78f935e4e4d64;hp=2dab590a7912caba8d603f57807985585123cc52;hb=35acc80f23f9f81f3145a686a9c7df4b622b25fe;hpb=c6de2fa03634669c411dc1c4c8621ac8df77edb2 diff --git a/include/uccompat.h b/include/uccompat.h index 2dab590..f4f2359 100644 --- a/include/uccompat.h +++ b/include/uccompat.h @@ -34,6 +34,12 @@ extern char * strchr __P ((const char *, int)); 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 */