summaryrefslogtreecommitdiffstats
path: root/external/redland/raptor/raptor-msvc.patch.1
blob: 245b19bdca70f3f31f227fd9c901253e02439a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- raptor/src/raptor2.h.in.orig	2016-08-26 23:45:34.543400074 +0200
+++ raptor/src/raptor2.h.in	2016-08-26 23:45:40.479399614 +0200
@@ -2176,6 +2176,7 @@
 void* raptor_avltree_iterator_get(raptor_avltree_iterator* iterator);
 
 /* utility methods */
+RAPTOR_API
 void raptor_sort_r(void *base, size_t nel, size_t width, raptor_data_compare_arg_handler compar, void *user_data);
 
 
--- raptor/src/raptor_uri.c	2016-08-26 23:45:34.543400074 +0200
+++ raptor/src/raptor_uri.c	2016-08-26 23:45:40.479399614 +0200
@@ -51,6 +51,10 @@
 #include <sys/stat.h>
 #endif
 
+#if !defined(HAVE_ACCESS) && defined(HAVE__ACCESS)
+#include <io.h>
+#endif
+
 /* Raptor includes */
 #include "raptor2.h"
 #include "raptor_internal.h"