diff --git a/hostname.c b/hostname.c index 22f0fc4..05bc32c 100644 --- a/hostname.c +++ b/hostname.c @@ -1,5 +1,6 @@ #include #include +#include #include "hostname.h" #define DNR_WAIT_TIME 15 /*seconds*/ diff --git a/main.c b/main.c index 4e11509..7b1c876 100644 --- a/main.c +++ b/main.c @@ -10,6 +10,7 @@ #include "session.h" #include "seturl.h" #include "hostname.h" +#include "tcpconnection.h" /* http://archive.org/download/a2gs_System_1.0_1986_Apple_FW/System_1.0_1986_Apple_FW.2mg @@ -57,7 +58,7 @@ int main(int argc, char **argv) { putchar(ch); } printf("=========\n"); - printf("\n", i); + printf("\n"); enum RequestResult requestResult; requestResult = DoHTTPRequest(&sess, startByte, startByte + 511); diff --git a/seturl.c b/seturl.c index ba8b237..de2484a 100644 --- a/seturl.c +++ b/seturl.c @@ -1,5 +1,7 @@ #include #include +#include +#include #include "session.h" #include "urlparser.h" #include "strcasecmp.h"