00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef ACE_OS_INCLUDE_OS_STROPTS_H
00017 #define ACE_OS_INCLUDE_OS_STROPTS_H
00018
00019 #include "ace/pre.h"
00020
00021 #include "ace/config-all.h"
00022
00023 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00024 # pragma once
00025 #endif
00026
00027 #include "ace/os_include/os_unistd.h"
00028
00029 #if defined (ACE_HAS_TIMOD_H)
00030 # if defined (ACE_HAS_STL_QUEUE_CONFLICT)
00031 # define queue _Queue_
00032 # endif
00033 # include <sys/timod.h>
00034 # if defined (ACE_HAS_STL_QUEUE_CONFLICT)
00035 # undef queue
00036 # endif
00037 #elif defined (ACE_HAS_OSF_TIMOD_H)
00038 # include <tli/timod.h>
00039 #endif
00040
00041 #if !defined (ACE_LACKS_SYS_IOCTL_H)
00042 # include <sys/ioctl.h>
00043 #endif
00044
00045 #if defined (ACE_HAS_SYS_FILIO_H)
00046 # include <sys/filio.h>
00047 #endif
00048
00049 #if defined (ACE_HAS_SYS_SOCKIO_H)
00050 # include <sys/sockio.h>
00051 #endif
00052
00053
00054
00055 #if defined (ACE_HAS_STREAMS)
00056 # if defined (AIX)
00057 # if !defined (_XOPEN_EXTENDED_SOURCE)
00058 # define _XOPEN_EXTENDED_SOURCE
00059 # endif
00060 # endif
00061 #endif
00062
00063 #if !defined (ACE_LACKS_STROPTS_H)
00064 # include <stropts.h>
00065 #endif
00066
00067
00068
00069 #if defined (ACE_HAS_STREAMS)
00070 # if defined (AIX)
00071 # undef _XOPEN_EXTENDED_SOURCE
00072 # endif
00073 #endif
00074
00075 #if defined (ACE_VXWORKS)
00076
00077 # include <ioLib.h>
00078 #endif
00079
00080
00081 #ifdef __cplusplus
00082 extern "C"
00083 {
00084 #endif
00085
00086 #if defined (ACE_LACKS_STRRECVFD)
00087 struct strrecvfd {};
00088 #endif
00089
00090 # if !defined (SIOCGIFBRDADDR)
00091 # define SIOCGIFBRDADDR 0
00092 # endif
00093
00094 # if !defined (SIOCGIFADDR)
00095 # define SIOCGIFADDR 0
00096 # endif
00097
00098 # if !defined (ACE_HAS_STRBUF_T)
00099 struct strbuf
00100 {
00101
00102 int maxlen;
00103
00104 int len;
00105
00106 void *buf;
00107 };
00108 # endif
00109
00110
00111
00112 #if !defined (ACE_WIN32) && !defined (ACE_HAS_ISASTREAM_PROTO)
00113 int isastream (int);
00114 #endif
00115
00116 #ifdef __cplusplus
00117 }
00118 #endif
00119
00120 #include "ace/post.h"
00121 #endif