From 60f1b7e35b15f5e2a1663584ee225014f6e29068 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Thu, 9 May 2019 19:44:34 +0300 Subject: [PATCH] Fix compiling without DLB --- include/decl.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/decl.h b/include/decl.h index 1ed0aad39..497463ae4 100644 --- a/include/decl.h +++ b/include/decl.h @@ -1039,7 +1039,11 @@ struct instance_globals { /* questpgr.c */ char cvt_buf[CVT_BUF_SIZE]; struct qtlists qt_list; +#ifdef DLB struct dlb_handle *msg_file; +#else + FILE *msg_file; +#endif /* used by ldrname() and neminame(), then copied into cvt_buf */ char nambuf[CVT_BUF_SIZE];