On Fri, Oct 24, 2008 at 1:06 PM,  <[EMAIL PROTECTED]> wrote:

===================================================================
> --- trunk/Scripts/src/List.c    2008-10-24 09:52:10 UTC (rev 3673)
> +++ trunk/Scripts/src/List.c    2008-10-24 15:06:18 UTC (rev 3674)
> @@ -31,6 +31,13 @@
>  #else
>    #include <sys/statfs.h>
>    #include <sys/vfs.h>
> +   #if defined (__CYGWIN__)
> +      #define MAJOR(dev)      (long long) ((dev)>>8)
> +      #define MINOR(dev)      (long long) ((dev) & 0xff)
> +      #define MKDEV(ma,mi)    (long long) ((ma)<<8 | (mi))
> +   #else
> +      #include <linux/kdev_t.h>

It's better to remove the kdev_t header below, then.

> +   #endif
>    #include <linux/kdev_t.h>
>  #endif
>  #include "List.h"


-- 
If you're looking for a reason I've a reason to give
Pleasure, little treasure
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to