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 ?

Regards
Paul