projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2017f0f
)
trasher: Include all the necessary headers
author
Martin Storsjö
<martin@martin.st>
Thu, 13 Sep 2012 09:55:44 +0000
(12:55 +0300)
committer
Martin Storsjö
<martin@martin.st>
Thu, 13 Sep 2012 20:12:54 +0000
(23:12 +0300)
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>
tools/trasher.c
patch
|
blob
|
history
diff --git
a/tools/trasher.c
b/tools/trasher.c
index 11605b8a8e2b3f6bd474b35c93af8d6724776e6c..35625e9a62ce9c099f85d55e587eef46daa5019b 100644
(file)
--- 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)