includes.h
资源名称:socks5.zip [点击查看]
上传用户:sddyfurun
上传日期:2007-01-04
资源大小:525k
文件大小:3k
源码类别:
代理服务器
开发平台:
Unix_Linux
- /* Copyright (c) 1995,1996,1997 NEC Corporation. All rights reserved. */
- /* */
- /* The redistribution, use and modification in source or binary forms of */
- /* this software is subject to the conditions set forth in the copyright */
- /* document ("Copyright") included with this distribution. */
- /*
- * $Id: includes.h,v 1.15.2.1.2.5 1998/10/09 16:05:03 steve Exp $
- */
- #ifndef INCLUDES_H
- #define INCLUDES_H
- /* everybody can include this...it just cleans up the code... */
- /* it might be a bad idea, since it include pretty much everyting... */
- #include <sys/types.h>
- #include <setjmp.h>
- #ifdef HAVE_PTHREAD_H
- #define POSIX_PTHREAD_SEMANTICS
- #if !defined(_REENTRANT) && !defined(_OSF_SOURCE)
- #define _REENTRANT
- #endif
- #if defined(_HPUX_SOURCE) && defined(IN_SERVER)
- #include <pthread.h>
- #endif
- #endif
- #ifdef TIME_WITH_SYS_TIME
- #include <sys/time.h>
- #include <time.h>
- #elif defined(HAVE_SYS_TIME_H)
- #include <sys/time.h>
- #elif defined(HAVE_TIME_H)
- #include <time.h>
- #endif
- #ifdef HAVE_SYS_SELECT_H
- #include <sys/select.h>
- #endif
- #ifdef HAVE_SYS_STAT_H
- #include <sys/stat.h>
- #endif
- #ifdef HAVE_SYS_FILE_H
- #include <sys/file.h>
- #endif
- #ifdef HAVE_SYS_PARAM_H
- #include <sys/param.h>
- #endif
- #ifdef HAVE_SYS_SOCKET_H
- #include <sys/socket.h>
- #endif
- #ifdef HAVE_SYS_UIO_H
- #include <sys/uio.h>
- #endif
- #ifdef HAVE_SYS_SOCKIO_H
- #include <sys/sockio.h>
- #endif
- #ifdef HAVE_SYS_SIGNAL_H
- #include <sys/signal.h>
- #endif
- #ifdef HAVE_SYS_WAIT_H
- #include <sys/wait.h>
- #endif
- #ifdef HAVE_SYS_BITYPES_H
- #include <sys/bitypes.h>
- #endif
- #include <netinet/in.h>
- #ifdef HAVE_NETINET_IN_SYSTM_H
- #include <netinet/in_systm.h>
- #endif
- #include <pwd.h>
- #include <ctype.h>
- #include <errno.h>
- #include <netdb.h>
- #include <stdio.h>
- #include <signal.h>
- #include <limits.h>
- #include <arpa/inet.h>
- #ifdef HAVE_STDLIB_H
- #include <stdlib.h>
- #endif
- #ifdef HAVE_UNISTD_H
- #include <unistd.h>
- #endif
- #ifdef HAVE_STRING_H
- #include <string.h>
- #endif
- #if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H)
- #include <memory.h>
- #endif
- #ifdef HAVE_STRINGS_H
- #include <strings.h>
- #endif
- #ifdef HAVE_BSTRING_H
- #include <bstring.h>
- #endif
- #ifdef HAVE_MALLOC_H
- #include <malloc.h>
- #endif
- #ifdef HAVE_FCNTL_H
- #include <fcntl.h>
- #endif
- #ifdef HAVE_SYS_FCNTL_H
- #include <sys/fcntl.h>
- #endif
- #ifdef HAVE_SYS_IOCTL_H
- #include <sys/ioctl.h>
- #endif
- #ifdef HAVE_SYS_FILIO_H
- #include <sys/filio.h>
- #endif
- #ifdef HAVE_SHL_LOAD
- #include <dl.h>
- #endif
- #ifdef HAVE_DLOPEN
- #include <dlfcn.h>
- #endif
- #endif