summaryrefslogtreecommitdiff
path: root/Modules/mmapmodule.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-08-02 12:16:45 -0700
committerBenjamin Peterson <benjamin@python.org>2015-08-02 12:16:45 -0700
commit60e3f367a4fea840df2bb4cd85e007768433e0ad (patch)
tree75e7a0893e11553cbe15ae35905fbaad8781aaf0 /Modules/mmapmodule.c
parent32ba405ce5ad9ee7c18c96a264c5db42817f7cb1 (diff)
parentf6b5cad3c37f5f8d2db5ded60c85b2beab360181 (diff)
downloadcpython-git-60e3f367a4fea840df2bb4cd85e007768433e0ad.tar.gz
Merge 3.4 (#24217)
Diffstat (limited to 'Modules/mmapmodule.c')
-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