summaryrefslogtreecommitdiff
authorMartin Storsjö <martin@martin.st>2012-08-16 12:04:27 (GMT)
committer Martin Storsjö <martin@martin.st>2012-08-16 19:25:13 (GMT)
commitda8201cc82e379de6d756b993443fdd7e820869c (patch)
tree329bc1404acdd1463a6190250204f59dfa073198
parente5f2731c736c992948ca7e344ad7cfc93168a03f (diff)
downloadffmpeg-da8201cc82e379de6d756b993443fdd7e820869c.zip
ffmpeg-da8201cc82e379de6d756b993443fdd7e820869c.tar.gz
ffmpeg-da8201cc82e379de6d756b993443fdd7e820869c.tar.bz2
getopt: Add missing includes
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat
-rw-r--r--compat/getopt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/getopt.c b/compat/getopt.c
index 3a873b2..c7f8ef3 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;