trasher: Include all the necessary headers
The missing headers are required for errno and for strerror. This fixes building of this tool on mingw32ce. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
2017f0fdb7
commit
18d8825517
@ -21,6 +21,8 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
static uint32_t state;
|
static uint32_t state;
|
||||||
static uint32_t ran(void)
|
static uint32_t ran(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user