+#include <inttypes.h>
+
#include "util/u_inlines.h"
#include "util/u_memory.h"
#include "util/u_double_list.h"
cache->allocated += size;
- debug_printf("MM: new slab, total memory = %llu KiB\n",
+ debug_printf("MM: new slab, total memory = %"PRIu64" KiB\n",
cache->allocated / 1024);
return PIPE_OK;
#define NOUVEAU_WINSYS_H
#include <stdint.h>
+#include <inttypes.h>
+
#include "pipe/p_defines.h"
#include "nouveau/nouveau_bo.h"
screen->tls_size = tls_space * max_warps * 32;
- debug_printf("max_warps = %i, tls_size = %llu KiB\n",
+ debug_printf("max_warps = %i, tls_size = %"PRIu64" KiB\n",
max_warps, screen->tls_size >> 10);
ret = nouveau_bo_new(dev, NOUVEAU_BO_VRAM, 1 << 16, screen->tls_size,