aboutsummaryrefslogtreecommitdiffstats
path: root/tools/trasher.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-09-13 12:55:44 +0300
committerMartin Storsjö <martin@martin.st>2012-09-13 23:12:54 +0300
commit18d882551718f3e8da2c08ea664b4d0a1205212b (patch)
tree1ccfbcca7d04c3e63e2b4ea542efc715930c0034 /tools/trasher.c
parent2017f0fdb777e16d1bc32c973b8876aafb59ef45 (diff)
downloadffmpeg-18d882551718f3e8da2c08ea664b4d0a1205212b.tar.gz
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>
Diffstat (limited to 'tools/trasher.c')
-rw-r--r--tools/trasher.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/trasher.c b/tools/trasher.c
index 11605b8a8e..35625e9a62 100644
--- a/tools/trasher.c
+++ b/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)