aboutsummaryrefslogtreecommitdiffstats
path: root/src/n3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/n3.c')
-rw-r--r--src/n3.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/n3.c b/src/n3.c
index e6e21d58..b1795d00 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -25,6 +25,8 @@
#include <string.h>
#include "reader.h"
+#include "string_utils.h"
+#include "uri_utils.h"
#define TRY_THROW(exp) if (!(exp)) goto except;
#define TRY_RET(exp) if (!(exp)) return 0;
@@ -590,7 +592,7 @@ static bool
read_IRIREF_scheme(SerdReader* reader, Ref dest)
{
uint8_t 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);
}