summaryrefslogtreecommitdiffhomepage
path: root/src/reqs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/reqs.h')
-rw-r--r--src/reqs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/reqs.h b/src/reqs.h
index c1c5100..4a0374f 100644
--- a/src/reqs.h
+++ b/src/reqs.h
@@ -24,6 +24,7 @@
#include "common.h"
#include "sock.h"
+#include "conns.h"
/*
* Port constants for HTTP (80) and SSL (443)
@@ -44,6 +45,6 @@ struct request_s {
char *path;
};
-extern void handle_connection (int fd, union sockaddr_union* addr);
+extern void handle_connection (struct conn_s *, union sockaddr_union* addr);
#endif