On Thu, 16 Aug 2012, Måns Rullgård wrote:
"Ronald S. Bultje" <[email protected]> writes:
Hi,
On Thu, Aug 16, 2012 at 5:05 AM, Martin Storsjö <[email protected]> wrote:
---
compat/getopt.c | 3 +++
1 file changed, 3 insertions(+)
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)
LGTM. Is the EOF still necessary then?
stdio.h is supposed to define EOF. Why was it there in the first place?
Doesn't seem to be necessary in our case at least, especially not since
we're explicitly including stdio.h now.
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel