diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-08-02 12:15:30 -0700 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-08-02 12:15:30 -0700 |
commit | f6b5cad3c37f5f8d2db5ded60c85b2beab360181 (patch) | |
tree | 7e7489c0844df5e9da37a97ae52548ff3ac45d6b /Modules | |
parent | 6b3f29ca8f97ac952d61c34285ff716eb2f37471 (diff) | |
download | cpython-git-f6b5cad3c37f5f8d2db5ded60c85b2beab360181.tar.gz |
include fcntl.h on all *nix platforms (closes #24217)
Patch by Jeffrey Armstrong.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/mmapmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c index 137142420f..a0cceebf55 100644 --- a/Modules/mmapmodule.c +++ b/Modules/mmapmodule.c @@ -24,9 +24,9 @@ #ifndef MS_WINDOWS #define UNIX -# ifdef __APPLE__ +# ifdef HAVE_FCNTL_H # include <fcntl.h> -# endif +# endif /* HAVE_FCNTL_H */ #endif #ifdef MS_WINDOWS |