summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-12-02 17:33:43 -0800
committerEric Anholt <eric@anholt.net>2008-12-02 17:36:49 -0800
commit85d84c7cf2d368d1803dc2cdd03d6c9df8cc0430 (patch)
tree89bea29b67a0f31c40ef453adcf0777e9dace784
parent4a61ad427c634bcc38a31ce0f14ff5c2d3f706c7 (diff)
Sigh.
-rw-r--r--glx/glapi.c3
-rw-r--r--glx/glxdri.c2
-rw-r--r--glx/glxdri2.c2
-rw-r--r--glx/glxdriswrast.c2
4 files changed, 5 insertions, 4 deletions
diff --git a/glx/glapi.c b/glx/glapi.c
index 94a804329..62597e469 100644
--- a/glx/glapi.c
+++ b/glx/glapi.c
@@ -53,7 +53,8 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
-#define PUBLIC
+#include <X11/Xfuncproto.h>
+#define PUBLIC _X_EXPORT
#else
diff --git a/glx/glxdri.c b/glx/glxdri.c
index 090e7ef97..8fb90cbeb 100644
--- a/glx/glxdri.c
+++ b/glx/glxdri.c
@@ -1171,7 +1171,7 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
return NULL;
}
-__GLXprovider __glXDRIProvider = {
+_X_EXPORT __GLXprovider __glXDRIProvider = {
__glXDRIscreenProbe,
"DRI",
NULL
diff --git a/glx/glxdri2.c b/glx/glxdri2.c
index 4e76c7135..87c39595a 100644
--- a/glx/glxdri2.c
+++ b/glx/glxdri2.c
@@ -580,7 +580,7 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
return NULL;
}
-__GLXprovider __glXDRI2Provider = {
+_X_EXPORT __GLXprovider __glXDRI2Provider = {
__glXDRIscreenProbe,
"DRI2",
NULL
diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c
index b42501280..5b3ecb077 100644
--- a/glx/glxdriswrast.c
+++ b/glx/glxdriswrast.c
@@ -516,7 +516,7 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
return NULL;
}
-__GLXprovider __glXDRISWRastProvider = {
+_X_EXPORT __GLXprovider __glXDRISWRastProvider = {
__glXDRIscreenProbe,
"DRISWRAST",
NULL