|
|
| version 1.13, 2001/11/15 18:04:18 | version 1.23.2.4, 2003/02/04 10:32:12 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: includes all Configure-d headers | Parser: includes all Configure-d headers |
| Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexander Petrosyan <paf@design.ru> (http://paf.design.ru) | Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) |
| $Id$ | |
| when used Configure [HAVE_CONFIG_H] it uses defines from Configure, | when used Configure [HAVE_CONFIG_H] it uses defines from Configure, |
| fixed otherwise. | fixed otherwise. |
| Line 70 | Line 67 |
| # include <math.h> | # include <math.h> |
| #endif | #endif |
| #ifdef HAVE_TIME_H | |
| # include <time.h> | |
| #endif | |
| #ifdef HAVE_STDLIB_H | #ifdef HAVE_STDLIB_H |
| # include <stdlib.h> | # include <stdlib.h> |
| #endif | #endif |
| Line 97 | Line 90 |
| #ifdef HAVE_NEW | #ifdef HAVE_NEW |
| #include <new> | #include <new> |
| #endif | #endif |
| #ifdef HAVE_SYS_FILE_H | |
| #include <sys/file.h> | |
| #endif | |
| #ifdef HAVE_SYS_LOCKING_H | |
| #include <sys/locking.h> | |
| #endif | |
| #ifdef HAVE_SYS_TYPES_H | |
| #include <sys/types.h> | |
| #endif | |
| #ifdef HAVE_SYS_SELECT_H | |
| #include <sys/select.h> | |
| #endif | |
| #ifdef HAVE_SIGNAL_H | |
| #include <signal.h> | |
| #endif | |
| #ifdef HAVE_SYS_SOCKET_H | |
| # include <sys/socket.h> | |
| #else | |
| # ifdef HAVE_WINSOCK_H | |
| # include <winsock.h> | |
| # endif | |
| #endif | |
| // must go anywhere after winsock [cygwin time.h checks for already inclusion of winsock.h] | |
| #if TIME_WITH_SYS_TIME | |
| # include <sys/time.h> | |
| # include <time.h> | |
| #else | |
| # ifdef HAVE_SYS_TIME_H | |
| # include <sys/time.h> | |
| # else | |
| # include <time.h> | |
| # endif | |
| #endif | |
| #ifdef HAVE_NETINET_IN_H | |
| #include <netinet/in.h> | |
| #endif | |
| #ifdef HAVE_ARPA_INET_H | |
| #include <arpa/inet.h> | |
| #endif | |
| #ifdef HAVE_NETDB_H | |
| #include <netdb.h> | |
| #endif | |