[FFmpeg-devel] [PATCH] fix implicit function declarations without _XOPEN_SOURCE
Aurelien Jacobs
aurel
Fri Aug 15 00:00:46 CEST 2008
Michael Niedermayer wrote:
> On Wed, Aug 13, 2008 at 11:40:47PM +0200, Aurelien Jacobs wrote:
> > Hi,
> >
> > When compiling without _XOPEN_SOURCE defined globally, there are a few
> > "implicit function declaration" warnings appearing. This might cause
> > serious trouble on 64 bits arch (segfault, etc...).
> > Attached patch adds a few define to some files, to ensure the prototypes
> > of the following functions are imported:
> > - usleep()
> > - mkstemp()
> > - gethostname()
> > - inet_aton()
> >
> > With this patch applied, I think that global _XOPEN_SOURCE can definitely
> > be dropped, without any kind of trouble.
>
> ok
Applied.
Aurel
More information about the ffmpeg-devel
mailing list