git://git.jankratochvil.net
/
gnokii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Untested attempt to get rid of SIGIO pain
[gnokii.git]
/
include
/
uccompat.h
diff --git
a/include/uccompat.h
b/include/uccompat.h
index
807e74f
..
f4f2359
100644
(file)
--- 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));
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 */
#endif /* UCCOMPAT */