Hi,

On Thu, Aug 16, 2012 at 8:51 AM, Måns Rullgård <[email protected]> wrote:
> "Ronald S. Bultje" <[email protected]> writes:
>> 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?

It was there in the original post, see the reference in the source.

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to