summaryrefslogtreecommitdiff
path: root/src/stubs/cauthgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stubs/cauthgen.c')
-rw-r--r--src/stubs/cauthgen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stubs/cauthgen.c b/src/stubs/cauthgen.c
index 06f1a34..026c52d 100644
--- a/src/stubs/cauthgen.c
+++ b/src/stubs/cauthgen.c
@@ -3,6 +3,10 @@
#endif
#include "stubs.h"
+#ifdef __SUNPRO_C
+#pragma weak client_auth_generation
+#endif
+
weak int
client_auth_generation(ClientPtr client)
{