… | … | ||
---|---|---|---|
9 | 9 | ||
10 | #include <unistd.h> | 10 | #include <unistd.h> |
11 | #include <fcntl.h> | 11 | #include <fcntl.h> |
12 | #include <signal.h> | 12 | #include <signal.h> |
13 | #include <sched.h> | 13 | #include <sched.h> |
14 | |||
15 | #ifndef _REENTRANT | ||
16 | # define _REENTRANT 1 | ||
17 | #endif | ||
18 | #include <errno.h> | ||
14 | 19 | ||
15 | #include <pthread.h> | 20 | #include <pthread.h> |
16 | 21 | ||
17 | typedef void *InputStream; /* hack, but 5.6.1 is simply toooo old ;) */ | 22 | typedef void *InputStream; /* hack, but 5.6.1 is simply toooo old ;) */ |
18 | typedef void *OutputStream; /* hack, but 5.6.1 is simply toooo old ;) */ | 23 | typedef void *OutputStream; /* hack, but 5.6.1 is simply toooo old ;) */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |