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>
pull/28/head
Martin Storsjö 12 years ago
parent 2017f0fdb7
commit 18d8825517
  1. 2
      tools/trasher.c

@ -21,6 +21,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include <errno.h>
#include <string.h>
static uint32_t state;
static uint32_t ran(void)

Loading…
Cancel
Save