Adam, Derek,
will this solution work if the <sys/types.h> is #include'd prior to the
<linux/types.h>? If I do it the way Adam's described it then I run into
redefinitions on RH 7.1. (and it does require <linux/types.h> on RH 7.1)
Dean
>From: Eric Sandeen <sandeen@xxxxxxx>
>Adam H. Pendleton wrote:
>>
>> Sorry to be that guy today, but there is another error when compiling the
>> dmapi command tree from CVS, on Slackware 8. The
>> include/dmapi.h file #include()?s <linux/types.h>, but in order to pull in
>> the mode_t on Slackware (don?t know about any other distro yet),
>> you must also #include <sys/types.h>. After adding that line, it compiled f
>ine.
>
>-Eric
>
|