pike.git / src / modules / _Stdio / file.h

version» Context lines:

pike.git/src/modules/_Stdio/file.h:1:   /*   || 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.   */    - #include <io.h> +    #ifndef FILE_H   #define FILE_H      #ifdef HAVE_NETINET_IN_H   #include <netinet/in.h>   #endif    -  + #ifdef HAVE_IO_H + #include <io.h> + #endif /* HAVE_IO_H */ +    #ifdef HAVE_ARPA_INET_H   #ifndef ARPA_INET_H   #include <arpa/inet.h>   #define ARPA_INET_H -  + #endif /* HAVE_ARPA_INET_H */      #ifdef HAVE_DIRENT_H   # include <dirent.h>   # define NAMLEN(dirent) strlen((dirent)->d_name)   #else   # ifdef HAVE_SYS_NDIR_H   # include <sys/ndir.h>   # define dirent direct   # define NAMLEN(dirent) (dirent)->d_namlen   # else /* !HAVE_SYS_NDIR_H */