From 9231fd5aefcd6ba14cb94e9a79aec0be09156bb9 Mon Sep 17 00:00:00 2001 From: "Chloe M." Date: Fri, 10 Jul 2026 03:46:32 +0000 Subject: [PATCH] spkg: Add string.h include in strlen.c Signed-off-by: Chloe M. --- service/spkg/Makefile | 7 ++++--- service/spkg/strlib/strlen.c | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/service/spkg/Makefile b/service/spkg/Makefile index 3943d96..9859ca4 100644 --- a/service/spkg/Makefile +++ b/service/spkg/Makefile @@ -12,9 +12,10 @@ CFILES = $(shell find . -name "*.c") OFILES = $(CFILES:.c=.o) DFILES = $(CFILES:.c=.d) -CFLAGS = \ - $(SYS_CFLAGS) \ - -MMD \ +CFLAGS = \ + $(SYS_CFLAGS) \ + -MMD \ + -I$(PT_PROJECT_ROOT)/service/spkg/head \ -I$(PT_PROJECT_ROOT)/sdk/head .PHONY: all diff --git a/service/spkg/strlib/strlen.c b/service/spkg/strlib/strlen.c index 0045354..3029d89 100644 --- a/service/spkg/strlib/strlen.c +++ b/service/spkg/strlib/strlen.c @@ -7,6 +7,7 @@ */ #include +#include USIZE RtlStrLen(const CHAR *String)