[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: how to find ioctls.h ???
From:       "N. Weuster" <weuster () mti ! uni-duisburg ! de>
Date:       1999-09-28 8:44:48
[Download RAW message or body]

On Mon, 27 Sep 1999, Troy Engel wrote:
> On Tue, Sep 28, 1999 at 01:00:16AM +0200, N. Weuster wrote:
> > 
> > suse find ioctls.h in /usr/include/  *everything ok* but
> > rehat and mandrake find it in /usr/include/bits/  *can't compile*
> > 
> > so, how can I divide between suse, redhat, ...?
> 
> >From the header file itself:
> 
> #ifndef _SYS_IOCTL_H
> # error "Never use <bits/ioctls.h> directly; include <sys/ioctl.h> instead."
> #endif                                                                          
> 
> So, try using #include <sys/ioctl.h> instead -- it exists on redhat.
thanks, 
I included both 
although <sys/ioctl.h> includes alreadey ioctls.h 

the ones who can read, are still in advantage :-/

ciao
	norbert


--
norbert  weuster@etecs6.uni-duisburg.de

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic