aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2017-12-16 07:57:47 +0100
committerMihai Moldovan <ionic@ionic.de>2017-12-16 07:57:47 +0100
commite37532ca89876b782d5034a1f0fc126327b6e470 (patch)
treeb9f155103cdae02ce71e6e188f42edeb6cf3b571
parent779a116ff3a4de2333ce647b32a253a80cbfc2a5 (diff)
downloadnx-libs-e37532ca89876b782d5034a1f0fc126327b6e470.tar.gz
nx-libs-e37532ca89876b782d5034a1f0fc126327b6e470.tar.bz2
nx-libs-e37532ca89876b782d5034a1f0fc126327b6e470.zip
nx-X11/programs/Xserver/include/misc.h: add compat define for SHMNAME.
-rw-r--r--nx-X11/programs/Xserver/include/misc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/include/misc.h b/nx-X11/programs/Xserver/include/misc.h
index 27137cd50..f32f86e41 100644
--- a/nx-X11/programs/Xserver/include/misc.h
+++ b/nx-X11/programs/Xserver/include/misc.h
@@ -397,4 +397,10 @@ typedef struct _CharInfo *CharInfoPtr; /* also in fonts/include/font.h */
#define _XTYPEDEF_CHARINFOPTR
#endif
+#ifdef LEGACY_XEXT_PROTO
+#ifndef SHMNAME
+#define SHMNAME "MIT-SHM"
+#endif
+#endif
+
#endif /* MISC_H */