summaryrefslogtreecommitdiff
path: root/apps/pdfshow.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/pdfshow.c')
-rw-r--r--apps/pdfshow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/pdfshow.c b/apps/pdfshow.c
index 3f142264..86743de3 100644
--- a/apps/pdfshow.c
+++ b/apps/pdfshow.c
@@ -167,7 +167,11 @@ static void showgrep(char *filename)
fz_fprint_obj(stdout, xref->trailer, 1);
}
+#ifdef MUPDF_COMBINED_EXE
+int pdfshow_main(int argc, char **argv)
+#else
int main(int argc, char **argv)
+#endif
{
char *password = NULL; /* don't throw errors if encrypted */
char *filename;