Included fcntl.h in libisofs.h to work around "#define open open64" in

fcntl.h of AIX. Thanks to Richard Nolde.
This commit is contained in:
Thomas Schmitt 2014-04-09 09:48:31 +02:00
parent e6e037f87e
commit af843e446f

View File

@ -61,6 +61,12 @@
#include <stdlib.h> #include <stdlib.h>
/* Because AIX defines "open" as "open64".
There are struct members named "open" in libisofs.h which get affected.
So all includers of libisofs.h must get included fcntl.h to see the same.
*/
#include <fcntl.h>
/** /**
* The following two functions and three macros are utilities to help ensuring * The following two functions and three macros are utilities to help ensuring