summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2022-02-03 12:18:08 +0000
committerKen Sharp <ken.sharp@artifex.com>2022-02-03 12:18:08 +0000
commitc3936cc2beaba5eeb689e639d462f8262dfcba80 (patch)
tree62d169ad34f627642fde9b452568378da5f50afe
parenta76bdee87110399545bdd7095def9e3026c7f604 (diff)
downloadghostpdl-c3936cc2beaba5eeb689e639d462f8262dfcba80.tar.gz
LGTM fix - include .h file to get an explicit function declaration
Slightly surprised this didn't show up with gcc at the time, nor with Coverity. Add gsstate.h for the definition of gs_gstate_free()
-rw-r--r--pdf/pdf_int.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pdf/pdf_int.c b/pdf/pdf_int.c
index a983ee3d2..caee4dd8d 100644
--- a/pdf/pdf_int.c
+++ b/pdf/pdf_int.c
@@ -37,6 +37,8 @@
#include "pdf_optcontent.h"
#include "pdf_sec.h"
+#include "gsstate.h" /* for gs_gstate_free */
+
/* we use -ve returns for error, 0 for success and +ve for 'take an action' */
/* Defining tis return so we do not need to define a new error */
#define REPAIRED_KEYWORD 1