Branch: Tag:

2003-12-17

2003-12-17 21:08:57 by Marcus Comstedt <marcus@mc.pp.se>

Include <sys/socket.h> for hton{l,s}.

Rev: src/encode.c:1.209
Rev: src/modules/Image/encodings/avs.c:1.16
Rev: src/modules/Image/encodings/x.c:1.42

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: encode.c,v 1.208 2003/12/16 10:40:28 grubba Exp $ + || $Id: encode.c,v 1.209 2003/12/17 21:08:56 marcus Exp $   */      #include "global.h"
32:   #include "opcodes.h"   #include "peep.h"    - RCSID("$Id: encode.c,v 1.208 2003/12/16 10:40:28 grubba Exp $"); + RCSID("$Id: encode.c,v 1.209 2003/12/17 21:08:56 marcus Exp $");      /* #define ENCODE_DEBUG */   
58:   #include <netinet/in.h>   #endif    + #ifdef HAVE_SYS_SOCKET_H + #include <sys/socket.h> + #endif +    #ifdef HAVE_IEEEFP_H   #include <ieeefp.h>   #endif /* HAVE_IEEEFP_H */