… | |
… | |
26 | #include <unistd.h> |
26 | #include <unistd.h> |
27 | #include <syslog.h> |
27 | #include <syslog.h> |
28 | #include <fcntl.h> |
28 | #include <fcntl.h> |
29 | |
29 | |
30 | #include "conf.h" |
30 | #include "conf.h" |
|
|
31 | |
|
|
32 | // following headers used by cygwin (maybe others) |
|
|
33 | #include "netcompat.h" |
|
|
34 | #include <signal.h> |
|
|
35 | |
|
|
36 | #define xstrdup(strd) strdup(str) |
31 | |
37 | |
32 | /* make the tincd sources feel comfortable in our environment. */ |
38 | /* make the tincd sources feel comfortable in our environment. */ |
33 | /* this was reasonably easy to do. */ |
39 | /* this was reasonably easy to do. */ |
34 | #define routing_mode 1 |
40 | #define routing_mode 1 |
35 | #define RMODE_ROUTER 0 |
41 | #define RMODE_ROUTER 0 |