On 08/20/2012 02:57 AM, Held, Douglas wrote:
> In file included from /usr/include/sys/cred.h:49,
> 
>                  from /usr/include/sys/file.h:32,
> 
>                  from /usr/include/sys/device.h:36,
> 
>                  from system-ioctl.h:31,
> 
>                  from rtapelib.c:36:
> 
> /usr/include/sys/secattr.h:50: error: parse error before "rid_t"

How is one supposed to "#include <sys/device.h>" in AIX?

Can you try compiling the following one-line program?

  #include <sys/device.h>

How about the following two-liner?

  #include <sys/types.h>
  #include <sys/device.h>

I hope you get the idea.  We need to find out what
files must be included before we include <sys/device.h>.

Reply via email to