summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-08-02 12:16:54 -0700
committerBenjamin Peterson <benjamin@python.org>2015-08-02 12:16:54 -0700
commit38768b23ae81f74ee98bb5e8d097551ed29624b5 (patch)
tree08d470199b272c7e987b8cf919ccee6dc15e1c23
parent68669d57d68c99cb96ff34b43ca6e3af91df9112 (diff)
parent60e3f367a4fea840df2bb4cd85e007768433e0ad (diff)
downloadcpython-git-38768b23ae81f74ee98bb5e8d097551ed29624b5.tar.gz
merge 3.5 (#24217)
-rw-r--r--Modules/mmapmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c
index c5ba4b7045..daab52b388 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