From 989b72b6bf919db22b218fe9dfd79a47671d9eaf Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Thu, 22 Apr 2021 17:01:45 +0000 Subject: [PATCH] fix: Add missing headers --- runtime/tests/sockserver/server.c | 3 +++ runtime/tests/work/main.c | 1 + runtime/tests/work100k/main.c | 1 + runtime/tests/work10k/main.c | 1 + runtime/tests/work1k/main.c | 1 + runtime/tests/work1m/main.c | 1 + 6 files changed, 8 insertions(+) diff --git a/runtime/tests/sockserver/server.c b/runtime/tests/sockserver/server.c index 3733187..0a68b09 100644 --- a/runtime/tests/sockserver/server.c +++ b/runtime/tests/sockserver/server.c @@ -2,8 +2,11 @@ The port number is passed as an argument */ /* code from: http://www.cs.rpi.edu/~moorthy/Courses/os98/Pgms/socket.html */ #include +#include +#include #include #include +#include #include void diff --git a/runtime/tests/work/main.c b/runtime/tests/work/main.c index bf42a16..600dca3 100644 --- a/runtime/tests/work/main.c +++ b/runtime/tests/work/main.c @@ -1,6 +1,7 @@ #include #include #include +#include #ifndef MAX_BUF #define MAX_BUF (1024 * 1024 * 1) // 1m diff --git a/runtime/tests/work100k/main.c b/runtime/tests/work100k/main.c index dd9cfa7..0ed61e3 100644 --- a/runtime/tests/work100k/main.c +++ b/runtime/tests/work100k/main.c @@ -1,6 +1,7 @@ #include #include #include +#include #define MAX_BUF 102400 diff --git a/runtime/tests/work10k/main.c b/runtime/tests/work10k/main.c index f456ccc..63e8978 100644 --- a/runtime/tests/work10k/main.c +++ b/runtime/tests/work10k/main.c @@ -1,6 +1,7 @@ #include #include #include +#include #define MAX_BUF 10240 diff --git a/runtime/tests/work1k/main.c b/runtime/tests/work1k/main.c index 1c76d4d..f6c6c95 100644 --- a/runtime/tests/work1k/main.c +++ b/runtime/tests/work1k/main.c @@ -1,6 +1,7 @@ #include #include #include +#include #define MAX_BUF 1024 diff --git a/runtime/tests/work1m/main.c b/runtime/tests/work1m/main.c index 0c40471..5ba8371 100644 --- a/runtime/tests/work1m/main.c +++ b/runtime/tests/work1m/main.c @@ -1,6 +1,7 @@ #include #include #include +#include #define MAX_BUF (1024 * 1024 * 1) // 1m