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 73dd030..c1c5100 100644
--- a/src/reqs.h
+++ b/src/reqs.h
@@ -23,6 +23,7 @@
#define _TINYPROXY_REQS_H_
#include "common.h"
+#include "sock.h"
/*
* Port constants for HTTP (80) and SSL (443)
@@ -43,6 +44,6 @@ struct request_s {
char *path;
};
-extern void handle_connection (int fd);
+extern void handle_connection (int fd, union sockaddr_union* addr);
#endif