diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-02-03 21:57:04 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-02-03 21:57:04 +0100 |
commit | b499fe614ac5b492fc0fdc6e1fbbeeb904674159 (patch) | |
tree | 9deacfadec1a289fba2ba338bfe8e2398132e152 /libc/string | |
parent | 5e9a78c8a839381add6faa61e196e6dad9143163 (diff) |
mips: fix build if threads are disabled
Reported-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Diffstat (limited to 'libc/string')
-rw-r--r-- | libc/string/mips/memcpy.S | 4 | ||||
-rw-r--r-- | libc/string/mips/memset.S | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libc/string/mips/memcpy.S b/libc/string/mips/memcpy.S index 3afdb2c51..59f9f0a3a 100644 --- a/libc/string/mips/memcpy.S +++ b/libc/string/mips/memcpy.S @@ -23,7 +23,7 @@ # define PREFETCH_STORE_HINT PREFETCH_HINT_PREPAREFORSTORE #elif _LIBC # include <sysdep.h> -# include <regdef.h> +# include <sys/regdef.h> # include <sys/asm.h> # define PREFETCH_LOAD_HINT PREFETCH_HINT_LOAD_STREAMED # define PREFETCH_STORE_HINT PREFETCH_HINT_PREPAREFORSTORE @@ -33,7 +33,7 @@ # define PREFETCH_LOAD_HINT PREFETCH_HINT_LOAD_STREAMED # define PREFETCH_STORE_HINT PREFETCH_HINT_PREPAREFORSTORE #else -# include <regdef.h> +# include <sys/regdef.h> # include <sys/asm.h> #endif diff --git a/libc/string/mips/memset.S b/libc/string/mips/memset.S index ef8ab0b13..43034cebb 100644 --- a/libc/string/mips/memset.S +++ b/libc/string/mips/memset.S @@ -21,7 +21,7 @@ # define PREFETCH_STORE_HINT PREFETCH_HINT_PREPAREFORSTORE #elif _LIBC # include <sysdep.h> -# include <regdef.h> +# include <sys/regdef.h> # include <sys/asm.h> # define PREFETCH_STORE_HINT PREFETCH_HINT_PREPAREFORSTORE #elif defined _COMPILING_NEWLIB @@ -29,7 +29,7 @@ # include "machine/regdef.h" # define PREFETCH_STORE_HINT PREFETCH_HINT_PREPAREFORSTORE #else -# include <regdef.h> +# include <sys/regdef.h> # include <sys/asm.h> #endif |