Thanks


On Thu, Oct 24, 2013 at 4:21 PM, Rich Felker <dalias@aerifal.cx> wrote:
On Thu, Oct 24, 2013 at 12:34:53PM +0200, Paul Schutte wrote:
> Hi,
>
> I am trying to compile a program that uses rename.
>
> I get the following error:
>
> error: 'EXDEV' undeclared (first use in this function)
>
> It looks like this is defined in bits/errno.h
>
> My question therefore is whether I should modify the program to include
> <errno.h> or should <bits/errno.h> be included by <stdio.h> as standard ?

The program should be including <errno.h>.

Rich