summaryrefslogtreecommitdiffstats
path: root/osdep/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/Makefile')
-rw-r--r--osdep/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/osdep/Makefile b/osdep/Makefile
index 43f3e08d59..c0f7a2c7ec 100644
--- a/osdep/Makefile
+++ b/osdep/Makefile
@@ -26,6 +26,9 @@ getch = getch2-win.c
endif
ifeq ($(TARGET_OS),OS/2)
getch = getch2-os2.c
+ifneq ($(HAVE_SYS_MMAN_H),yes)
+SRCS_COMMON += mmap-os2.c
+endif
endif
SRCS_COMMON += $(timer)
SRCS_COMMON += $(getch)