summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/pdfdoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipdfm-x/pdfdoc.c')
-rw-r--r--Build/source/texk/dvipdfm-x/pdfdoc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfm-x/pdfdoc.c b/Build/source/texk/dvipdfm-x/pdfdoc.c
index 80c0d32881c..48b2ad0b4e7 100644
--- a/Build/source/texk/dvipdfm-x/pdfdoc.c
+++ b/Build/source/texk/dvipdfm-x/pdfdoc.c
@@ -46,6 +46,8 @@
#include "pdfencrypt.h"
+#include "dvipdfmx.h"
+
#include "pdfdev.h"
#include "pdfdraw.h"
#include "pdfcolor.h"
@@ -531,8 +533,8 @@ pdf_doc_close_docinfo (pdf_doc *p)
}
}
- banner = NEW(strlen(PACKAGE)+strlen(VERSION)+4, char);
- sprintf(banner, "%s (%s)", PACKAGE, VERSION);
+ banner = NEW(strlen(my_name)+strlen(VERSION)+4, char);
+ sprintf(banner, "%s (%s)", my_name, VERSION);
pdf_add_dict(docinfo,
pdf_new_name("Producer"),
pdf_new_string(banner, strlen(banner)));