aboutsummaryrefslogtreecommitdiffstats
path: root/src/n3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/n3.c')
-rw-r--r--src/n3.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/n3.c b/src/n3.c
index f8c4ccca..ee9cd581 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -14,8 +14,12 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "byte_source.h"
#include "reader.h"
#include "serd_internal.h"
+#include "stack.h"
+#include "string_utils.h"
+#include "uri_utils.h"
#include "serd/serd.h"
@@ -614,7 +618,7 @@ static bool
read_IRIREF_scheme(SerdReader* reader, Ref dest)
{
int c = peek_byte(reader);
- if (!isalpha(c)) {
+ if (!is_alpha(c)) {
return r_err(reader, SERD_ERR_BAD_SYNTAX,
"bad IRI scheme start `%c'\n", c);
}