diff --git a/include/asm/unistd.h b/include/asm/unistd.h deleted file mode 100644 index fd213e2..0000000 --- a/include/asm/unistd.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/include/arch/fx9860g/unistd_32.h b/include/fxlibc/arch/fx9860g/unistd_32.h similarity index 100% rename from include/arch/fx9860g/unistd_32.h rename to include/fxlibc/arch/fx9860g/unistd_32.h diff --git a/include/arch/fxcg50/unistd_32.h b/include/fxlibc/arch/fxcg50/unistd_32.h similarity index 100% rename from include/arch/fxcg50/unistd_32.h rename to include/fxlibc/arch/fxcg50/unistd_32.h diff --git a/include/arch/vhex/unistd_32.h b/include/fxlibc/arch/vhex/unistd_32.h similarity index 100% rename from include/arch/vhex/unistd_32.h rename to include/fxlibc/arch/vhex/unistd_32.h diff --git a/include/asm-casio/__trapa.h b/include/fxlibc/asm-casio/__trapa.h similarity index 100% rename from include/asm-casio/__trapa.h rename to include/fxlibc/asm-casio/__trapa.h diff --git a/include/fxlibc/asm/unistd.h b/include/fxlibc/asm/unistd.h new file mode 100644 index 0000000..82945d4 --- /dev/null +++ b/include/fxlibc/asm/unistd.h @@ -0,0 +1 @@ +#include diff --git a/include/asm/unistd_32.h b/include/fxlibc/asm/unistd_32.h similarity index 64% rename from include/asm/unistd_32.h rename to include/fxlibc/asm/unistd_32.h index 29c86c7..cf43146 100644 --- a/include/asm/unistd_32.h +++ b/include/fxlibc/asm/unistd_32.h @@ -3,11 +3,11 @@ // ABI redirection #if defined(__SUPPORT_VHEX_KERNEL) -# include +# include #elif defined(__SUPPORT_CASIO_ABI_FX9860G) -# include +# include #elif defined(__SUPPORT_CASIO_ABI_FXCG50) -# include +# include #endif #endif /*__ASM_UNISTD_32_H__*/ diff --git a/include/bits/confname.h b/include/fxlibc/bits/confname.h similarity index 100% rename from include/bits/confname.h rename to include/fxlibc/bits/confname.h diff --git a/include/bits/fcntl.h b/include/fxlibc/bits/fcntl.h similarity index 100% rename from include/bits/fcntl.h rename to include/fxlibc/bits/fcntl.h diff --git a/include/bits/setjmp.h b/include/fxlibc/bits/setjmp.h similarity index 100% rename from include/bits/setjmp.h rename to include/fxlibc/bits/setjmp.h diff --git a/include/bits/sigaction.h b/include/fxlibc/bits/sigaction.h similarity index 100% rename from include/bits/sigaction.h rename to include/fxlibc/bits/sigaction.h diff --git a/include/bits/signum.h b/include/fxlibc/bits/signum.h similarity index 100% rename from include/bits/signum.h rename to include/fxlibc/bits/signum.h diff --git a/include/bits/types/FILE.h b/include/fxlibc/bits/types/FILE.h similarity index 100% rename from include/bits/types/FILE.h rename to include/fxlibc/bits/types/FILE.h diff --git a/include/bits/types/__FILE.h b/include/fxlibc/bits/types/__FILE.h similarity index 100% rename from include/bits/types/__FILE.h rename to include/fxlibc/bits/types/__FILE.h diff --git a/include/bits/types/struct_FILE.h b/include/fxlibc/bits/types/struct_FILE.h similarity index 92% rename from include/bits/types/struct_FILE.h rename to include/fxlibc/bits/types/struct_FILE.h index 5fc61a6..f284604 100644 --- a/include/bits/types/struct_FILE.h +++ b/include/fxlibc/bits/types/struct_FILE.h @@ -3,7 +3,8 @@ #include #include -#include + +#include //--- // TODO: VFS abstraction ? or ABI-spesific abstraction ? diff --git a/include/bits/waitflags.h b/include/fxlibc/bits/waitflags.h similarity index 100% rename from include/bits/waitflags.h rename to include/fxlibc/bits/waitflags.h diff --git a/include/bits/waitstatus.h b/include/fxlibc/bits/waitstatus.h similarity index 100% rename from include/bits/waitstatus.h rename to include/fxlibc/bits/waitstatus.h diff --git a/include/elf.h b/include/fxlibc/elf.h similarity index 100% rename from include/elf.h rename to include/fxlibc/elf.h diff --git a/include/errno.h b/include/fxlibc/errno.h similarity index 100% rename from include/errno.h rename to include/fxlibc/errno.h diff --git a/include/fcntl.h b/include/fxlibc/fcntl.h similarity index 100% rename from include/fcntl.h rename to include/fxlibc/fcntl.h diff --git a/include/setjmp.h b/include/fxlibc/setjmp.h similarity index 93% rename from include/setjmp.h rename to include/fxlibc/setjmp.h index 894dc3b..82333d5 100644 --- a/include/setjmp.h +++ b/include/fxlibc/setjmp.h @@ -5,7 +5,7 @@ #include /* Get '__jmp_buf' */ -#include +#include /* User jmp_buf alias */ typedef struct __jmp_buf jmp_buf[1]; diff --git a/include/signal.h b/include/fxlibc/signal.h similarity index 96% rename from include/signal.h rename to include/fxlibc/signal.h index bd9af06..cdbdb09 100644 --- a/include/signal.h +++ b/include/fxlibc/signal.h @@ -3,7 +3,8 @@ #include #include -#include + +#include /* Type of signal set */ typedef uint32_t sigset_t; diff --git a/include/stdio.h b/include/fxlibc/stdio.h similarity index 100% rename from include/stdio.h rename to include/fxlibc/stdio.h diff --git a/include/stdlib.h b/include/fxlibc/stdlib.h similarity index 100% rename from include/stdlib.h rename to include/fxlibc/stdlib.h diff --git a/include/string.h b/include/fxlibc/string.h similarity index 100% rename from include/string.h rename to include/fxlibc/string.h diff --git a/include/sys/mman.h b/include/fxlibc/sys/mman.h similarity index 100% rename from include/sys/mman.h rename to include/fxlibc/sys/mman.h diff --git a/include/fxlibc/sys/signal.h b/include/fxlibc/sys/signal.h new file mode 100644 index 0000000..3938c55 --- /dev/null +++ b/include/fxlibc/sys/signal.h @@ -0,0 +1 @@ +#include diff --git a/include/sys/stat.h b/include/fxlibc/sys/stat.h similarity index 100% rename from include/sys/stat.h rename to include/fxlibc/sys/stat.h diff --git a/include/sys/syscall.h b/include/fxlibc/sys/syscall.h similarity index 86% rename from include/sys/syscall.h rename to include/fxlibc/sys/syscall.h index 7f2c89f..659e0c6 100644 --- a/include/sys/syscall.h +++ b/include/fxlibc/sys/syscall.h @@ -6,13 +6,13 @@ ** But instead of duplicating this we use the information available ** from the kernel sources. */ -#include +#include /* ** The Linux kernel header file defines macros __NR_*, but some ** programs expect the traditional form SYS_*. ** defines SYS_* macros for __NR_* macros of known names. */ -#include +#include #endif diff --git a/include/sys/types.h b/include/fxlibc/sys/types.h similarity index 100% rename from include/sys/types.h rename to include/fxlibc/sys/types.h diff --git a/include/sys/wait.h b/include/fxlibc/sys/wait.h similarity index 95% rename from include/sys/wait.h rename to include/fxlibc/sys/wait.h index 88edd22..9f50819 100644 --- a/include/sys/wait.h +++ b/include/fxlibc/sys/wait.h @@ -9,10 +9,10 @@ ** This will define the `W*' macros for the flag bits to `waitpid', `wait3', ** and `wait4'. */ -#include +#include /* This will define all the `__W*' macros.*/ -#include +#include /* Macros for the `waitpid`'s wstatus argument. */ #define WEXITSTATUS(status) __WEXITSTATUS(status) diff --git a/include/fxlibc/syscall.h b/include/fxlibc/syscall.h new file mode 100644 index 0000000..9c51c47 --- /dev/null +++ b/include/fxlibc/syscall.h @@ -0,0 +1 @@ +#include diff --git a/include/threads.h b/include/fxlibc/threads.h similarity index 100% rename from include/threads.h rename to include/fxlibc/threads.h diff --git a/include/unistd.h b/include/fxlibc/unistd.h similarity index 97% rename from include/unistd.h rename to include/fxlibc/unistd.h index 9262273..9e4bfb3 100644 --- a/include/unistd.h +++ b/include/fxlibc/unistd.h @@ -3,7 +3,8 @@ #include #include -#include + +#include //--- // Process part @@ -86,7 +87,7 @@ extern int close(int __fd); ** the `_SC_*' symbols for the NAME argument to `sysconf'; and the `_CS_*' ** symbols for the NAME argument to `confstr'. */ -#include +#include /* Get the value of the system variable NAME. */ extern long int sysconf(int __name); diff --git a/include/sys/signal.h b/include/sys/signal.h deleted file mode 100644 index 2e602da..0000000 --- a/include/sys/signal.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/include/syscall.h b/include/syscall.h deleted file mode 100644 index 4c30578..0000000 --- a/include/syscall.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/make/Makefile.default b/make/Makefile.default index ca9dc08..b351cf4 100644 --- a/make/Makefile.default +++ b/make/Makefile.default @@ -35,7 +35,7 @@ #--- MAJOR := 0 MINOR := 3 -PATCH := 5 +PATCH := 6 EXTRAVERSION := @@ -140,9 +140,9 @@ endif # add custom project-specific flags based on the target ABI ifeq ($1,fxlibc-vhex) lib-cflags += -D __SUPPORT_VHEX_KERNEL -else ifeq ($1,fxlibc-casio-abi-fx9860g) +else ifeq ($1,fxlibc-fx9860g) lib-cflags += -D __SUPPORT_CASIO_ABI_FX9860G -else ifeq ($1,fxlibc-casio-abi-fxcf50) +else ifeq ($1,fxlibc-fxcf50) lib-cflags += -D __SUPPORT_CASIO_ABI_FXCG50 endif @@ -235,7 +235,11 @@ $(foreach libs,$(lib-generation-rules),$(eval \ )) # Generate the path where include directory will be installed. -lib-install-header-dir := $(CONFIG.PREFIX)include/fxlibc +lib-install-header-dir := $(CONFIG.PREFIX)include/ +ifeq ($(wildcard $(lib-install-header-dir)fxlibc/.*),) + lib-install-header-dir := $(lib-install-header-dir)fxlibc +endif + @@ -244,11 +248,10 @@ lib-install-header-dir := $(CONFIG.PREFIX)include/fxlibc # Installation rules #--- install: $(lib-generation-rules) $(lib-installation-rules) - rm -rf $(lib-install-header-dir) - cp -r ../include $(lib-install-header-dir) + cp -r ../include/fxlibc/ $(lib-install-header-dir) uninstall: $(lib-uninstallation-rules) - rm -rf $(lib-install-header-dir) + rm -rf $(CONFIG.PREFIX)include/fxlibc diff --git a/src/fcntl/arch/vhex/open.S b/src/fcntl/arch/vhex/open.S index 8048bd6..f812973 100644 --- a/src/fcntl/arch/vhex/open.S +++ b/src/fcntl/arch/vhex/open.S @@ -1,5 +1,5 @@ #ifdef __SUPPORT_VHEX_KERNEL -#include +#include .text .global _open .type _open, @function diff --git a/src/signal/arch/vhex/kill.S b/src/signal/arch/vhex/kill.S index 5a4129a..815375e 100644 --- a/src/signal/arch/vhex/kill.S +++ b/src/signal/arch/vhex/kill.S @@ -1,5 +1,5 @@ #ifdef __SUPPORT_VHEX_KERNEL -#include +#include .text .global _kill .type _kill, @function diff --git a/src/signal/arch/vhex/signal.S b/src/signal/arch/vhex/signal.S index 92519a9..45d2700 100644 --- a/src/signal/arch/vhex/signal.S +++ b/src/signal/arch/vhex/signal.S @@ -1,5 +1,5 @@ #ifdef __SUPPORT_VHEX_KERNEL -#include +#include .text .global _signal .type _signal, @function diff --git a/src/stdio/dprintf.c b/src/stdio/dprintf.c index f7f5bbc..a269730 100644 --- a/src/stdio/dprintf.c +++ b/src/stdio/dprintf.c @@ -1,4 +1,4 @@ -#include +#include /* ** The function dprintf() is the same as fprintf() except that it outputs to a diff --git a/src/stdio/internal/printf_actions.c b/src/stdio/internal/printf_actions.c index b31e653..80dc7ad 100644 --- a/src/stdio/internal/printf_actions.c +++ b/src/stdio/internal/printf_actions.c @@ -1,4 +1,4 @@ -#include +#include // internal depency // TODO: update path detection diff --git a/src/stdio/internal/printf_common.c b/src/stdio/internal/printf_common.c index c27f796..1ae504f 100644 --- a/src/stdio/internal/printf_common.c +++ b/src/stdio/internal/printf_common.c @@ -1,4 +1,4 @@ -#include +#include // internal depency // TODO: update path detection diff --git a/src/stdio/internal/printf_options.c b/src/stdio/internal/printf_options.c index 2d25f31..db9b735 100644 --- a/src/stdio/internal/printf_options.c +++ b/src/stdio/internal/printf_options.c @@ -1,4 +1,4 @@ -#include +#include // internal depency // TODO: update path detection diff --git a/src/stdio/printf.c b/src/stdio/printf.c index 88feb6e..d9ea9f7 100644 --- a/src/stdio/printf.c +++ b/src/stdio/printf.c @@ -1,5 +1,5 @@ -#include -#include +#include +#include /* ** printf() write the output under the control of a format string that specifies diff --git a/src/stdio/putc.c b/src/stdio/putc.c index 5b2d791..b379ca1 100644 --- a/src/stdio/putc.c +++ b/src/stdio/putc.c @@ -1,7 +1,7 @@ -#include -#include +#include +#include -int putc(int c) +int putchar(int c) { char n; diff --git a/src/stdio/puts.c b/src/stdio/puts.c index 418dcc8..30d7302 100644 --- a/src/stdio/puts.c +++ b/src/stdio/puts.c @@ -1,6 +1,6 @@ -#include -#include -#include +#include +#include +#include /* ** puts() writes the string s and a trailing newline to stdout. diff --git a/src/stdio/snprintf.c b/src/stdio/snprintf.c index 08cf2c5..9f8b4ae 100644 --- a/src/stdio/snprintf.c +++ b/src/stdio/snprintf.c @@ -1,4 +1,4 @@ -#include +#include /* ** sprintf(), snprintf(), vsprintf() and vsnprintf() write the output under the diff --git a/src/stdio/sprintf.c b/src/stdio/sprintf.c index e6aa357..5f569dd 100644 --- a/src/stdio/sprintf.c +++ b/src/stdio/sprintf.c @@ -1,4 +1,4 @@ -#include +#include /* ** sprintf(), snprintf(), vsprintf() and vsnprintf() write the output under the diff --git a/src/stdio/vdprintf.c b/src/stdio/vdprintf.c index 304d4bd..8051221 100644 --- a/src/stdio/vdprintf.c +++ b/src/stdio/vdprintf.c @@ -1,5 +1,5 @@ -#include -#include +#include +#include // internal depency // TODO: update path detection diff --git a/src/stdio/vsnprintf.c b/src/stdio/vsnprintf.c index 58ca32f..abc4607 100644 --- a/src/stdio/vsnprintf.c +++ b/src/stdio/vsnprintf.c @@ -1,4 +1,4 @@ -#include +#include // internal depency // TODO: update path detection diff --git a/src/stdio/vsprintf.c b/src/stdio/vsprintf.c index a9cdd9d..e1a63e9 100644 --- a/src/stdio/vsprintf.c +++ b/src/stdio/vsprintf.c @@ -1,4 +1,4 @@ -#include +#include /* ** The functions vsprintf() are equivalent to the sprintf() except that they diff --git a/src/stdlib/arch/vhex/free.S b/src/stdlib/arch/vhex/free.S index 3c1f2fa..3fb88ab 100644 --- a/src/stdlib/arch/vhex/free.S +++ b/src/stdlib/arch/vhex/free.S @@ -1,5 +1,5 @@ #ifdef __SUPPORT_VHEX_KERNEL -#include +#include .text .global _free .type _free, @function diff --git a/src/stdlib/arch/vhex/malloc.S b/src/stdlib/arch/vhex/malloc.S index 67726ea..05ef3a3 100644 --- a/src/stdlib/arch/vhex/malloc.S +++ b/src/stdlib/arch/vhex/malloc.S @@ -1,5 +1,5 @@ #ifdef __SUPPORT_VHEX_KERNEL -#include +#include .text .global _malloc .type _malloc, @function diff --git a/src/stdlib/arch/vhex/realloc.S b/src/stdlib/arch/vhex/realloc.S index e9acfa3..6666240 100644 --- a/src/stdlib/arch/vhex/realloc.S +++ b/src/stdlib/arch/vhex/realloc.S @@ -1,5 +1,5 @@ #ifdef __SUPPORT_VHEX_KERNEL -#include +#include .text .global _realloc .type _realloc, @function diff --git a/src/stdlib/calloc.c b/src/stdlib/calloc.c index 91e3b95..89f08e6 100644 --- a/src/stdlib/calloc.c +++ b/src/stdlib/calloc.c @@ -1,6 +1,6 @@ -#include -#include -#include +#include +#include +#include /* ** The calloc() function allocates memory for an array of nmemb elements of size diff --git a/src/stdlib/reallocarray.c b/src/stdlib/reallocarray.c index 493e996..4b9e552 100644 --- a/src/stdlib/reallocarray.c +++ b/src/stdlib/reallocarray.c @@ -1,4 +1,4 @@ -#include +#include /* ** The reallocarray() function changes the size of the memory block pointed to diff --git a/src/string/memcpy.c b/src/string/memcpy.c index 8acd667..03811d2 100644 --- a/src/string/memcpy.c +++ b/src/string/memcpy.c @@ -1,4 +1,4 @@ -#include +#include /* ** The memcpy() function copies n bytes from memory area src to memory area dest. diff --git a/src/string/memset.c b/src/string/memset.c index 7e2850d..b7d3b21 100644 --- a/src/string/memset.c +++ b/src/string/memset.c @@ -1,4 +1,4 @@ -#include +#include /* ** The memset() function fills the first n bytes of the memory area pointed to diff --git a/src/string/strcat.c b/src/string/strcat.c index 8bf00c8..ee31373 100644 --- a/src/string/strcat.c +++ b/src/string/strcat.c @@ -1,4 +1,4 @@ -#include +#include /* ** The strcat() function appends the src string to the dest string, diff --git a/src/string/strchr.c b/src/string/strchr.c index 4d4af8a..8aeab9e 100644 --- a/src/string/strchr.c +++ b/src/string/strchr.c @@ -1,4 +1,4 @@ -#include +#include /* ** The strchr() function returns a pointer to the first occurrence of the diff --git a/src/string/strcmp.c b/src/string/strcmp.c index 7fae004..f64cbaf 100644 --- a/src/string/strcmp.c +++ b/src/string/strcmp.c @@ -1,4 +1,4 @@ -#include +#include /* ** The strcmp() function compares the two strings s1 and s2. The locale is not diff --git a/src/string/strcpy.c b/src/string/strcpy.c index 0a03980..02e1c57 100644 --- a/src/string/strcpy.c +++ b/src/string/strcpy.c @@ -1,4 +1,4 @@ -#include +#include /* ** The strcpy() function copies the string pointed to by src, including the diff --git a/src/string/strdup.c b/src/string/strdup.c index 2e532c6..2538aa9 100644 --- a/src/string/strdup.c +++ b/src/string/strdup.c @@ -1,5 +1,5 @@ -#include -#include +#include +#include /* ** The strdup() function returns a pointer to a new string which is a diff --git a/src/string/strlen.c b/src/string/strlen.c index 718ddc2..503d678 100644 --- a/src/string/strlen.c +++ b/src/string/strlen.c @@ -1,4 +1,4 @@ -#include +#include /* ** The strlen() function calculates the length of the string pointed to by s, diff --git a/src/sys/wait/arch/vhex/wait.S b/src/sys/wait/arch/vhex/wait.S index 8a0954d..5102832 100644 --- a/src/sys/wait/arch/vhex/wait.S +++ b/src/sys/wait/arch/vhex/wait.S @@ -1,5 +1,5 @@ #ifdef __SUPPORT_VHEX_KERNEL -#include +#include .text .global _wait .type _wait, @function diff --git a/src/sys/wait/arch/vhex/waitpid.S b/src/sys/wait/arch/vhex/waitpid.S index a01f72d..2b6eb2c 100644 --- a/src/sys/wait/arch/vhex/waitpid.S +++ b/src/sys/wait/arch/vhex/waitpid.S @@ -1,5 +1,5 @@ #ifdef __SUPPORT_VHEX_KERNEL -#include +#include .text .global _waitpid .type _waitpid, @function diff --git a/src/threads/mutex.c b/src/threads/mutex.c index e1b71ff..9748729 100644 --- a/src/threads/mutex.c +++ b/src/threads/mutex.c @@ -1,5 +1,5 @@ -#include -#include +#include +#include // Creates a new mutex object with type __TYPE. // @note: If successful the new object is pointed by __MUTEX. diff --git a/src/unistd/arch/fx9860g/close.S b/src/unistd/arch/fx9860g/close.S index 9b3308a..7d99554 100644 --- a/src/unistd/arch/fx9860g/close.S +++ b/src/unistd/arch/fx9860g/close.S @@ -1,6 +1,6 @@ #ifdef __SUPPORT_CASIO_ABI_FX9860G -#include -#include +#include +#include .text .global _close .type _close, @function diff --git a/src/unistd/arch/vhex/close.S b/src/unistd/arch/vhex/close.S index d30f48e..12a3b59 100644 --- a/src/unistd/arch/vhex/close.S +++ b/src/unistd/arch/vhex/close.S @@ -1,5 +1,5 @@ #ifdef __SUPPORT_VHEX_KERNEL -#include +#include .text .global _close .type _close, @function diff --git a/src/unistd/arch/vhex/fork_execve.S b/src/unistd/arch/vhex/fork_execve.S index e5e10a5..7abbfa1 100644 --- a/src/unistd/arch/vhex/fork_execve.S +++ b/src/unistd/arch/vhex/fork_execve.S @@ -1,5 +1,5 @@ #ifdef __SUPPORT_VHEX_KERNEL -#include +#include .text .global _fork_execve .type _fork_execve, @function diff --git a/src/unistd/arch/vhex/getpgid.S b/src/unistd/arch/vhex/getpgid.S index 5d6aa66..2b36aa0 100644 --- a/src/unistd/arch/vhex/getpgid.S +++ b/src/unistd/arch/vhex/getpgid.S @@ -1,5 +1,5 @@ #ifdef __SUPPORT_VHEX_KERNEL -#include +#include .text .global _getpgid .type _getpgid, @function diff --git a/src/unistd/arch/vhex/getpid.S b/src/unistd/arch/vhex/getpid.S index b0a8920..0fd0c43 100644 --- a/src/unistd/arch/vhex/getpid.S +++ b/src/unistd/arch/vhex/getpid.S @@ -1,5 +1,5 @@ #ifdef __SUPPORT_VHEX_KERNEL -#include +#include .text .global _getpid .type _getpid, @function diff --git a/src/unistd/arch/vhex/getppid.S b/src/unistd/arch/vhex/getppid.S index c4253b7..6b03a69 100644 --- a/src/unistd/arch/vhex/getppid.S +++ b/src/unistd/arch/vhex/getppid.S @@ -1,5 +1,5 @@ #ifdef __SUPPORT_VHEX_KERNEL -#include +#include .text .global _getppid .type _getppid, @function diff --git a/src/unistd/arch/vhex/lseek.S b/src/unistd/arch/vhex/lseek.S index c6e4cfa..de8da0a 100644 --- a/src/unistd/arch/vhex/lseek.S +++ b/src/unistd/arch/vhex/lseek.S @@ -1,5 +1,5 @@ #ifdef __SUPPORT_VHEX_KERNEL -#include +#include .text .global _lseek .type _lseek, @function diff --git a/src/unistd/arch/vhex/read.S b/src/unistd/arch/vhex/read.S index fb325ac..a5ab21c 100644 --- a/src/unistd/arch/vhex/read.S +++ b/src/unistd/arch/vhex/read.S @@ -1,5 +1,5 @@ #ifdef __SUPPORT_VHEX_KERNEL -#include +#include .text .global _read .type _read, @function diff --git a/src/unistd/arch/vhex/setpgid.S b/src/unistd/arch/vhex/setpgid.S index 93d02f5..a4c1a50 100644 --- a/src/unistd/arch/vhex/setpgid.S +++ b/src/unistd/arch/vhex/setpgid.S @@ -1,5 +1,5 @@ #ifdef __SUPPORT_VHEX_KERNEL -#include +#include .text .global _setpgid .type _setpgid, @function diff --git a/src/unistd/arch/vhex/write.S b/src/unistd/arch/vhex/write.S index d53c215..20bf650 100644 --- a/src/unistd/arch/vhex/write.S +++ b/src/unistd/arch/vhex/write.S @@ -1,5 +1,5 @@ #ifdef __SUPPORT_VHEX_KERNEL -#include +#include .text .global _write .type _write, @function