[issue3266] Python-2.5.2/Modules/mmapmodule.c:915: error: `O_RDWR' undeclared

Martin Mokrejs report at bugs.python.org
Thu Jul 3 08:56:08 CEST 2008


Martin Mokrejs <mmokrejs at users.sourceforge.net> added the comment:

So adding these two lines helped:

# diff /usr/scratch/Python-2.5.2/Modules/mmapmodule.c.ori
/usr/scratch/Python-2.5.2/Modules/mmapmodule.c
36a37
> #include <sys/types.h>
38a40
> #include <fcntl.h>
#

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3266>
_______________________________________


More information about the Python-bugs-list mailing list