[kde-solaris] FIONREAD undeclared in kdelib/kdecore/network
Christopher Layne
clayne at anodized.com
Sat Aug 21 21:55:12 CEST 2004
On Sat, Aug 21, 2004 at 02:29:27PM -0400, Stefan Teleman wrote:
> Neither is sys/fileio.h guarded by #ifdef BSD_COMP in Sun's header
> files.
BTW:
It *is* guarded by that define unless you explicitly include
<sys/filio.h>
This is an excerpt from ioctl.h:
[clayne at build02-sol8-x86 ~]$ uname -a
SunOS build02-sol8-x86.dev.villa 5.8 Generic_108529-12 i86pc i386 i86pc
[clayne at build02-sol8-x86 ~]$ grep filio.h /usr/include/sys/*.h
/usr/include/sys/filio.h:#pragma ident "@(#)filio.h 1.25 00/08/17 SMI" /* SVr4.0 1.4 */
/usr/include/sys/filio.h:/* filio.h 1.3 88/02/08 SMI; from UCB ioctl.h 7.1 6/4/86 */
/usr/include/sys/ioctl.h:#include <sys/filio.h>
/* BSD related defines */
#ifdef BSD_COMP
#include <sys/ttychars.h>
#include <sys/ttydev.h>
#include <sys/ttold.h>
#ifdef __cplusplus
extern "C" {
#endif
#define TANDEM O_TANDEM
#define CBREAK O_CBREAK
#ifndef _SGTTY_H
#define LCASE O_LCASE
#define ECHO O_ECHO
#define CRMOD O_CRMOD
#define RAW O_RAW
#define ODDP O_ODDP
#define EVENP O_EVENP
#define ANYP O_ANYP
#define NLDELAY O_NLDELAY
#define NL0 O_NL0
#define NL1 O_NL1
#define NL2 O_NL2
#define NL3 O_NL3
#define TBDELAY O_TBDELAY
#define TAB0 O_TAB0
#define TAB1 O_TAB1
#define TAB2 O_TAB2
#define XTABS O_XTABS
#define CRDELAY O_CRDELAY
#define CR0 O_CR0
#define CR1 O_CR1
#define CR2 O_CR2
#define CR3 O_CR3
#define VTDELAY O_VTDELAY
#define FF0 O_FF0
#define FF1 O_FF1
#define BSDELAY O_BSDELAY
#define BS0 O_BS0
#define BS1 O_BS1
#define ALLDELAY O_ALLDELAY
#endif /* _SGTTY_H */
#define CRTBS O_CRTBS
#define PRTERA O_PRTERA
#define CRTERA O_CRTERA
#define TILDE O_TILDE
#define MDMBUF O_MDMBUF
#define LITOUT O_LITOUT
#define TOSTOP O_TOSTOP
#define FLUSHO O_FLUSHO
#define NOHANG O_NOHANG
#define L001000 O_L001000
#define CRTKIL O_CRTKIL
#define PASS8 O_PASS8
#define CTLECH O_CTLECH
#define PENDIN O_PENDIN
#define DECCTQ O_DECCTQ
#define NOFLSH O_NOFLSH
#ifdef __cplusplus
}
#endif
#include <sys/filio.h>
#include <sys/sockio.h>
#endif /* BSD_COMP */
#endif /* _SYS_IOCTL_H */
More information about the kde-solaris
mailing list