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
1 changed files with 6 additions and 0 deletions

View File

@ -61,6 +61,12 @@
#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