Compile pronlem with old centosls

Igor Sysoev is at rambler-co.ru
Tue Jun 16 11:51:51 MSD 2009


On Tue, Jun 16, 2009 at 02:39:24PM +0700, Denis F. Latypoff wrote:

> Hello Igor,
> 
> Tuesday, June 16, 2009, 3:08:10 AM, you wrote:
> 
> > Index: src/os/unix/ngx_linux_config.h
> > ===================================================================
> > --- src/os/unix/ngx_linux_config.h      (revision 2269)
> > +++ src/os/unix/ngx_linux_config.h      (working copy)
> > @@ -17,6 +17,7 @@
> >  #include <sys/types.h>
> >  #include <sys/time.h>
> >  #include <unistd.h>
> > +#include <inttypes.h>
> >  #include <stdarg.h>
> >  #include <stddef.h>             /* offsetof() */
> >  #include <stdio.h>
> 
> IMHO,
> 
> #include <stdint.h>
> 
> is a little bit proper.

Probably. I did as it is on other platforms.
Also, <inttypes.h> includes <stdint.h>:

http://en.wikipedia.org/wiki/Inttypes.h
http://en.wikipedia.org/wiki/Stdint.h


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list