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:
parent
e6e037f87e
commit
af843e446f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user