aboutsummaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-08-16 15:04:27 +0300
committerMartin Storsjö <martin@martin.st>2012-08-16 22:25:13 +0300
commitda8201cc82e379de6d756b993443fdd7e820869c (patch)
tree329bc1404acdd1463a6190250204f59dfa073198 /compat
parente5f2731c736c992948ca7e344ad7cfc93168a03f (diff)
downloadffmpeg-da8201cc82e379de6d756b993443fdd7e820869c.tar.gz
getopt: Add missing includes
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'compat')
-rw-r--r--compat/getopt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/getopt.c b/compat/getopt.c
index 3a873b27ee..c7f8ef3260 100644
--- a/compat/getopt.c
+++ b/compat/getopt.c
@@ -30,6 +30,9 @@
* in the public domain.
*/
+#include <stdio.h>
+#include <string.h>
+
#define EOF (-1)
static int opterr = 1;