X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=include%2Fuccompat.h;h=f4f235967a94b13778aeeb3810c78f935e4e4d64;hp=807e74f43aa54461113887adc793aba7dcf95a02;hb=35acc80f23f9f81f3145a686a9c7df4b622b25fe;hpb=c7dcdfd34d2bed9cc64c5c9603e51ef8c8271951 diff --git a/include/uccompat.h b/include/uccompat.h index 807e74f..f4f2359 100644 --- a/include/uccompat.h +++ b/include/uccompat.h @@ -33,7 +33,13 @@ extern char * strchr __P ((const char *, int)); extern char * strrchr __P ((const char *, int)); -#define getpid() (2) +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 */