aboutsummaryrefslogtreecommitdiff
path: root/ports/libu2f-server/windows.patch
blob: 2cc68ec9bf5de6366f7e2bc22f6d5b7970e00135 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
diff --git a/u2f-server/cdecode.c b/u2f-server/cdecode.c
index 6fff114..dc05ca5 100644
--- a/u2f-server/cdecode.c
+++ b/u2f-server/cdecode.c
@@ -5,7 +5,7 @@ This is part of the libb64 project, and has been placed in the public domain.
 For details, see http://sourceforge.net/projects/libb64
 */
 
-#include <b64/cdecode.h>
+#include "b64/cdecode.h"
 
 int base64_decode_value(char value_in)
 {
diff --git a/u2f-server/cencode.c b/u2f-server/cencode.c
index eebb24a..f3b7fa4 100644
--- a/u2f-server/cencode.c
+++ b/u2f-server/cencode.c
@@ -5,7 +5,7 @@ This is part of the libb64 project, and has been placed in the public domain.
 For details, see http://sourceforge.net/projects/libb64
 */
 
-#include <b64/cencode.h>
+#include "b64/cencode.h"
 
 const int CHARS_PER_LINE = 72;
 
diff --git a/u2f-server/core.c b/u2f-server/core.c
index da440ec..294c94b 100644
--- a/u2f-server/core.c
+++ b/u2f-server/core.c
@@ -30,8 +30,7 @@
 #include "internal.h"
 
 #include <string.h>
-#include <unistd.h>
-#include <json.h>
+#include <json-c/json.h>
 #include "crypto.h"
 #include "b64/cencode.h"
 #include "b64/cdecode.h"