summaryrefslogtreecommitdiff
path: root/src/deh_main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/deh_main.h')
-rw-r--r--src/deh_main.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/deh_main.h b/src/deh_main.h
index 6afe07f3..9248e982 100644
--- a/src/deh_main.h
+++ b/src/deh_main.h
@@ -27,6 +27,8 @@
#ifndef DEH_MAIN_H
#define DEH_MAIN_H
+#include <stdio.h>
+
#include "doomtype.h"
#include "doomfeatures.h"
#include "md5.h"
@@ -52,10 +54,16 @@ void DEH_Checksum(md5_digest_t digest);
#ifdef FEATURE_DEHACKED
char *DEH_String(char *s);
+void DEH_printf(char *fmt, ...);
+void DEH_fprintf(FILE *fstream, char *fmt, ...);
+void DEH_snprintf(char *buffer, size_t len, char *fmt, ...);
#else
#define DEH_String(x) (x)
+#define DEH_printf printf
+#define DEH_fprintf fprintf
+#define DEH_snprintf snprintf
#endif