Untested attempt to get rid of SIGIO pain
[gnokii.git] / include / uccompat.h
index 807e74f..f4f2359 100644 (file)
 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 */