Included xmalloc.h from log.h, if usingthe old system, as it used to be
authorHeikki Levanto <heikki@indexdata.dk>
Mon, 13 Dec 2004 14:31:19 +0000 (14:31 +0000)
committerHeikki Levanto <heikki@indexdata.dk>
Mon, 13 Dec 2004 14:31:19 +0000 (14:31 +0000)
there... If using new system, you need to include it yourself

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'