Hints DB interface: convert from macros to inlinable functions.
[exim.git] / src / src / perl.c
index 5239f3d513943cc94ed3716f2302f02fa9e3ab94..c6d329102d87ff9c51c9f4cd55eaf9e675339e17 100644 (file)
 /* See the file NOTICE for conditions of use and distribution. */
 
 #include <assert.h>
+
+#define HINTSDB_H
+#define DBFUNCTIONS_H
+
 #include "exim.h"
 
 #define EXIM_TRUE TRUE
@@ -62,7 +66,7 @@ XS(xs_expand_string)
   ST(0) = sv_newmortal();
   if (str != NULL)
     sv_setpv(ST(0), CCS  str);
-  else if (!expand_string_forcedfail)
+  else if (!f.expand_string_forcedfail)
     croak("syntax error in Exim::expand_string argument: %s",
       expand_string_message);
 }