pike.git / src / modules / _Stdio / socket.c

version» Context lines:

pike.git/src/modules/_Stdio/socket.c:58: Inside #if defined(HAVE_SYS_SOCKETVAR_H)
     #ifdef HAVE_SYS_SOCKETVAR_H   #include <sys/socketvar.h>   #endif      #ifdef HAVE_SYS_UN_H   #include <sys/un.h>   #endif   #include "dmalloc.h"    + #ifndef !defined(SOL_TCP) && defined(IPPROTO_TCP) +  /* SOL_TCP isn't defined in Solaris. */ + #define SOL_TCP IPPROTO_TCP + #endif +    /*! @module Stdio    */      /*! @class Port    */      struct port   {    struct fd_callback_box box; /* Must be first. */    int my_errno;