[FFmpeg-cvslog] trasher: Include all the necessary headers
Martin Storsjö
git at videolan.org
Fri Sep 14 14:16:44 CEST 2012
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Thu Sep 13 12:55:44 2012 +0300| [18d882551718f3e8da2c08ea664b4d0a1205212b] | committer: Martin Storsjö
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 at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=18d882551718f3e8da2c08ea664b4d0a1205212b
---
tools/trasher.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/trasher.c b/tools/trasher.c
index 11605b8..35625e9 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)
More information about the ffmpeg-cvslog
mailing list