summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/loader/extsym.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/programs/Xserver/hw/xfree86/loader/extsym.c')
-rw-r--r--xc/programs/Xserver/hw/xfree86/loader/extsym.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/loader/extsym.c b/xc/programs/Xserver/hw/xfree86/loader/extsym.c
index 2715acd8d..46ad232f4 100644
--- a/xc/programs/Xserver/hw/xfree86/loader/extsym.c
+++ b/xc/programs/Xserver/hw/xfree86/loader/extsym.c
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/loader/extsym.c,v 1.4 2000/03/30 18:20:58 mvojkovi Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/loader/extsym.c,v 1.5 2000/11/01 22:50:04 anderson Exp $ */
/*
*
@@ -31,9 +31,11 @@
#include "panoramiX.h"
#endif
+#ifdef HAS_SHM
extern int ShmCompletionCode;
extern int BadShmSegCode;
extern RESTYPE ShmSegType, ShmPixType;
+#endif
#ifdef PANORAMIX
extern Bool noPanoramiXExtension;
@@ -50,9 +52,11 @@ extern int XineramaDeleteResource(pointer, XID);
LOOKUP extLookupTab[] = {
+#ifdef HAS_SHM
SYMVAR(ShmCompletionCode)
SYMVAR(BadShmSegCode)
SYMVAR(ShmSegType)
+#endif
#ifdef PANORAMIX
SYMFUNC(XineramaRegisterConnectionBlockCallback)