aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xprint/ps/ttf2pt1wrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/xprint/ps/ttf2pt1wrap.c')
-rw-r--r--xorg-server/hw/xprint/ps/ttf2pt1wrap.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/xorg-server/hw/xprint/ps/ttf2pt1wrap.c b/xorg-server/hw/xprint/ps/ttf2pt1wrap.c
new file mode 100644
index 000000000..57bb777d2
--- /dev/null
+++ b/xorg-server/hw/xprint/ps/ttf2pt1wrap.c
@@ -0,0 +1,14 @@
+/*
+ * Wrapper to add missing symbol to externally supplied code
+ */
+
+#ifdef HAVE_DIX_CONFIG_H
+#include <dix-config.h>
+#endif
+
+#ifdef Lynx
+extern int optind;
+extern char *optarg;
+#endif
+
+#include "ttf2pt1.c"