diff options
Diffstat (limited to 'ports/sysdeps/tile')
-rw-r--r-- | ports/sysdeps/tile/tilegx/memusage.h | 1 | ||||
-rw-r--r-- | ports/sysdeps/tile/tilegx/string-endian.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ports/sysdeps/tile/tilegx/memusage.h b/ports/sysdeps/tile/tilegx/memusage.h index 863b229f86..a81916c219 100644 --- a/ports/sysdeps/tile/tilegx/memusage.h +++ b/ports/sysdeps/tile/tilegx/memusage.h @@ -16,6 +16,7 @@ License along with the GNU C Library. If not, see <http://www.gnu.org/licenses/>. */ +#include <stdint.h> #include <arch/spr_def.h> #define GETSP() ({ register uintptr_t stack_ptr asm ("sp"); stack_ptr; }) diff --git a/ports/sysdeps/tile/tilegx/string-endian.h b/ports/sysdeps/tile/tilegx/string-endian.h index ee9bd1620a..69ca5fedf2 100644 --- a/ports/sysdeps/tile/tilegx/string-endian.h +++ b/ports/sysdeps/tile/tilegx/string-endian.h @@ -22,6 +22,8 @@ Also, specify how to count "first" and "last" bits when the bits have been read as a word. */ +#include <stdint.h> + #ifndef __BIG_ENDIAN__ #define MASK(x) (__insn_shl(1ULL, (x << 3)) - 1) #define NULMASK(x) ((2ULL << x) - 1) |