Browse Source

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>
tags/n1.0
Martin Storsjö 12 years ago
parent
commit
18d8825517
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      tools/trasher.c

+ 2
- 0
tools/trasher.c View File

@@ -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