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