Included xmalloc.h from log.h, if usingthe old system, as it used to be
[yaz-moved-to-github.git] / include / yaz / log.h
index c65dcdb..355949d 100644 (file)
@@ -23,7 +23,7 @@
  * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  * OF THIS SOFTWARE.
  *
- * $Id: log.h,v 1.28 2004-12-13 14:21:55 heikki Exp $
+ * $Id: log.h,v 1.29 2004-12-13 14:31:19 heikki Exp $
  */
 
 /**
@@ -41,6 +41,7 @@ YAZ_BEGIN_CDECL
 
 #ifndef YAZ_USE_NEW_LOG
 
+#include <yaz/xmalloc.h>
 
 /* The old LOG_ bit names are here for compatibility only. They may 
  * conflict with bits defined in syslog.h, or other places. 'LOG'