
Fuse::PDF::ErrnoHacks - Workaround for missing POSIX.pm error number values

In each package that needs ENOATTR:
use Fuse::PDF::ErrnoHacks;
That's it.

For reasons I do not understand, use POSIX ':errno_h' is missing some values on (at least) Mac OS X 10.4. This module detects the missing constant and tries to read from /usr/include/sys/errno.h directly. If it can't find the constant there either, it substitutes EIO instead.


Copyright 2007-2008 Chris Dolan, cdolan@cpan.org
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


Chris Dolan, cdolan@cpan.org