diff --git a/libisofs/libisofs.h b/libisofs/libisofs.h index f51dde5..73efb63 100644 --- a/libisofs/libisofs.h +++ b/libisofs/libisofs.h @@ -61,6 +61,12 @@ #include +/* 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 + /** * The following two functions and three macros are utilities to help ensuring