[Tinyx-devel] [PATCH] LIBC: Change libc include.
Status: Planning
Brought to you by:
davidcohen
|
From: David C. <da...@gm...> - 2008-01-11 03:02:36
|
Adding include/libc to standard include's path Fixing new libc include path on device.c Signed-off-by: David Cohen <da...@gm...> --- Makefile | 2 +- kernel/device.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0ca9772..3b0a471 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ OBJCOPY = $(CROSS_COMPILE)objcopy OBJDUMP = $(CROSS_COMPILE)objdump AWK = awk CFLAGS = -Wall -Os -mcpu=arm7tdmi -INCLUDES = -Iinclude +INCLUDES = -Iinclude -Iinclude/libc PYTHON = python diff --git a/kernel/device.c b/kernel/device.c index 44374ab..8cd35ba 100644 --- a/kernel/device.c +++ b/kernel/device.c @@ -21,7 +21,7 @@ #include <tinyx/device.h> #include <tinyx/list.h> -#include <tinyx/libc/string.h> +#include <string.h> DECLARE_LIST_HEAD(bus_list); DECLARE_LIST_HEAD(driver_list); -- 1.5.3.7 |