diff options
author | zfl9 <zfl9.com@gmail.com> | 2020-03-04 12:21:02 +0800 |
---|---|---|
committer | zfl9 <zfl9.com@gmail.com> | 2020-03-04 12:21:02 +0800 |
commit | 7b32cd63e3e5ef86b4c4fcd7451835dd1ff00f84 (patch) | |
tree | 35df7560036c29d6d13cb8711a1f8ca71f482c23 | |
parent | add typedef alias for libev (diff) | |
download | dns2tcp-7b32cd63e3e5ef86b4c4fcd7451835dd1ff00f84.tar.gz dns2tcp-7b32cd63e3e5ef86b4c4fcd7451835dd1ff00f84.tar.bz2 dns2tcp-7b32cd63e3e5ef86b4c4fcd7451835dd1ff00f84.zip |
use libev instead of libuv
-rw-r--r-- | dnsudp2tcp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dnsudp2tcp.c b/dnsudp2tcp.c index f85e5ef..6354824 100644 --- a/dnsudp2tcp.c +++ b/dnsudp2tcp.c @@ -4,9 +4,11 @@ #include <stdint.h> #include <stdbool.h> #include <string.h> +#include <time.h> +#include <errno.h> #include <signal.h> +#include <getopt.h> #include <unistd.h> -#include <time.h> #include <fcntl.h> #include <arpa/inet.h> #include <sys/types.h> |