From af843e446fd8d22466527f72d68f638bd6f68213 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 9 Apr 2014 09:48:31 +0200 Subject: [PATCH] Included fcntl.h in libisofs.h to work around "#define open open64" in fcntl.h of AIX. Thanks to Richard Nolde. --- libisofs/libisofs.h | 6 ++++++ 1 file changed, 6 insertions(+) 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