aboutsummaryrefslogtreecommitdiff
path: root/libXfont/src/stubs/fontmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXfont/src/stubs/fontmod.c')
-rw-r--r--libXfont/src/stubs/fontmod.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libXfont/src/stubs/fontmod.c b/libXfont/src/stubs/fontmod.c
new file mode 100644
index 000000000..5a0bd0e9d
--- /dev/null
+++ b/libXfont/src/stubs/fontmod.c
@@ -0,0 +1,14 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#ifdef LOADABLEFONTS
+#include "stubs.h"
+#include <X11/fonts/fontmod.h>
+
+#ifdef __SUNPRO_C
+#pragma weak FontModuleList
+#endif
+
+weak FontModule *FontModuleList;
+#endif /* LOADABLEFONTS */