summaryrefslogtreecommitdiff
path: root/www-servers/mongrel2/files/mongrel2-1.11.0-polarssl-platform-590512.patch
blob: c67dc060c8a407e423608fe5f33ece62dd5c7560 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Fix missing include for newer mbedtls
--- a/src/io.h
+++ b/src/io.h
@@ -6,6 +6,7 @@
 #endif
 
 #include <stdlib.h>
+#include <mbedtls/platform.h>
 #include <mbedtls/x509.h>
 #include <mbedtls/ssl.h>
 #include "server.h"
--- a/src/server.h
+++ b/src/server.h
@@ -39,6 +39,7 @@
 #include "adt/darray.h"
 #include "host.h"
 #include "routing.h"
+#include <mbedtls/platform.h>
 #include <mbedtls/ssl.h>
 #include <mbedtls/entropy.h>
 #include <mbedtls/x509.h>