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 | 900fa7d430111c741702f1a92e7fcc291ad51c52 (patch) | |
tree | 31f9baa56bc34111eb3a94c9004f2a8a096fa7eb /Modules/mmapmodule.c | |
parent | 9b50c1012c7b1b931fba80cddbfc4f478dee8ca3 (diff) | |
download | cpython-900fa7d430111c741702f1a92e7fcc291ad51c52.tar.gz |
include fcntl.h on all *nix platforms (closes #24217)
Patch by Jeffrey Armstrong.
Diffstat (limited to 'Modules/mmapmodule.c')
-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 |