summaryrefslogtreecommitdiff
path: root/hw/xwin/win.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xwin/win.h')
-rw-r--r--hw/xwin/win.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xwin/win.h b/hw/xwin/win.h
index e2e946fb5..ac26d0181 100644
--- a/hw/xwin/win.h
+++ b/hw/xwin/win.h
@@ -143,12 +143,12 @@
#undef HANDLE
#endif
-#ifdef HAS_MMAP
+#ifdef HAVE_MMAP
#include <sys/mman.h>
#ifndef MAP_FILE
#define MAP_FILE 0
#endif /* MAP_FILE */
-#endif /* HAS_MMAP */
+#endif /* HAVE_MMAP */
#include <X11/X.h>
#include <X11/Xproto.h>