player: Add missing header

As required by rand(3).
This commit is contained in:
Xavier Del Campo Romero 2024-01-30 01:13:56 +01:00
parent 2d8a171ad5
commit c2e2343054
Signed by: xavi
GPG Key ID: 84FF3612A9BF43F2
2 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@
#include <stddef.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
enum {X_OFF = 8, Y_OFF = 8};

View File

@ -3,6 +3,7 @@
#include <unit.h>
#include <terrain.h>
#include <stddef.h>
#include <stdlib.h>
void player_update(struct player *const p)
{