summaryrefslogtreecommitdiff
path: root/source/fitz/tempfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/tempfile.c')
-rw-r--r--source/fitz/tempfile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/fitz/tempfile.c b/source/fitz/tempfile.c
index fd7d0f5f..7c2bb1ff 100644
--- a/source/fitz/tempfile.c
+++ b/source/fitz/tempfile.c
@@ -7,6 +7,10 @@
* if required.
*/
+#include <string.h>
+#include <stdlib.h>
+#include <stdio.h> /* for tempnam */
+
/* For now, put temporary files with the hint. */
#define USE_HINT_FOR_DIR