summaryrefslogtreecommitdiff
path: root/lib/libXfont/src/stubs/servclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libXfont/src/stubs/servclient.c')
-rw-r--r--lib/libXfont/src/stubs/servclient.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libXfont/src/stubs/servclient.c b/lib/libXfont/src/stubs/servclient.c
index ae51621bf..9b6cebb3f 100644
--- a/lib/libXfont/src/stubs/servclient.c
+++ b/lib/libXfont/src/stubs/servclient.c
@@ -3,4 +3,8 @@
#endif
#include "stubs.h"
+#ifdef __SUNPRO_C
+#pragma weak serverClient
+#endif
+
weak void *serverClient = 0;