+/*
+ * For wx-console compiles, we undo some Bacula defines.
+ * This prevents conflicts between wx-Widgets and Bacula.
+ * In wx-console files that malloc or free() Bacula structures
+ * config/resources and interface to the Bacula libraries,
+ * you must use bmalloc() and bfree().
+ */
+#ifdef HAVE_WXCONSOLE
+#undef New
+#undef _
+#undef free
+#undef malloc
+#endif
+
+#if defined(HAVE_WIN32)
+#include "win32/winapi.h"
+#include "winhost.h"
+#else
+#include "host.h"
+#endif
+
+#ifndef HAVE_ZLIB_H
+#undef HAVE_LIBZ /* no good without headers */
+#endif
+