summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-02-14 22:25:35 +0100
committerAki <please@ignore.pl>2021-02-14 22:25:35 +0100
commitc9c0384ebf1b882dd0035530e5949bfcbf979d2b (patch)
tree0e8f986d6f2b2a4ac9857c4e61cd41c855919cea
parent63278799aad89e941daa2853bb6f57f6d13f055a (diff)
downloadplop-c9c0384ebf1b882dd0035530e5949bfcbf979d2b.zip
plop-c9c0384ebf1b882dd0035530e5949bfcbf979d2b.tar.gz
plop-c9c0384ebf1b882dd0035530e5949bfcbf979d2b.tar.bz2
Fixed connection and request includes
-rw-r--r--request.c2
-rw-r--r--request.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/request.c b/request.c
index d8c2051..ae5f74d 100644
--- a/request.c
+++ b/request.c
@@ -10,6 +10,8 @@
#include <lua.h>
+#include "connection.h"
+
static const int REQUEST_DATA_SIZE = 4096;
/// Allocates and initializes request structure.
diff --git a/request.h b/request.h
index 9963df5..690df88 100644
--- a/request.h
+++ b/request.h
@@ -2,7 +2,7 @@
#include <lua.h>
-#include "connection.h"
+struct connection;
struct span
{