… | |
… | |
5 | /*#include <netinet/in.h>*/ |
5 | /*#include <netinet/in.h>*/ |
6 | |
6 | |
7 | #define EV_PROTOTYPES 1 |
7 | #define EV_PROTOTYPES 1 |
8 | #include "EV/EVAPI.h" |
8 | #include "EV/EVAPI.h" |
9 | |
9 | |
10 | #include "libev/ev.c" |
10 | #include "ev.c" |
11 | #include "libev/event.h" |
|
|
12 | #include "libev/event.c" |
11 | #include "event.c" |
13 | #define DNS_USE_GETTIMEOFDAY_FOR_ID 1 |
12 | #define DNS_USE_GETTIMEOFDAY_FOR_ID 1 |
14 | #define HAVE_STRUCT_IN6_ADDR 1 |
13 | #define HAVE_STRUCT_IN6_ADDR 1 |
15 | #undef HAVE_STRTOK_R |
14 | #undef HAVE_STRTOK_R |
16 | #undef strtok_r |
15 | #undef strtok_r |
17 | #define strtok_r fake_strtok_r |
16 | #define strtok_r fake_strtok_r |
18 | #include "libev/evdns.h" |
|
|
19 | #include "libev/evdns.c" |
17 | #include "evdns.c" |
20 | |
18 | |
21 | typedef int Signal; |
19 | typedef int Signal; |
22 | |
20 | |
23 | static struct EVAPI evapi; |
21 | static struct EVAPI evapi; |
24 | |
22 | |