summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/string/mips/memcpy.S4
-rw-r--r--libc/string/mips/memset.S4
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