Untested attempt to get rid of SIGIO pain
[gnokii.git] / include / uccompat.h
index 2dab590..f4f2359 100644 (file)
@@ -34,6 +34,12 @@ extern char * strchr __P ((const char *, int));
 extern char * strrchr __P ((const char *, int));
 
 extern pid_t getpid(void);
 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 */
 
 
 #endif /* UCCOMPAT */