Allow memcached version 0.40
[yaz-moved-to-github.git] / src / zoom-p.h
index bb6db6f..d533084 100644 (file)
@@ -36,7 +36,7 @@
 #include <yaz/srw.h>
 #include <yaz/cookie.h>
 #include <yaz/mutex.h>
-#if HAVE_LIBMEMCACHED_MEMCACHED_H
+#if HAVE_LIBMEMCACHED
 #include <libmemcached/memcached.h>
 #endif
 #if HAVE_HIREDIS
@@ -115,7 +115,7 @@ struct ZOOM_connection_p {
     int log_details;
     int log_api;
     WRBUF saveAPDU_wrbuf;
-#if HAVE_LIBMEMCACHED_MEMCACHED_H
+#if HAVE_LIBMEMCACHED
     memcached_st *mc_st;
 #endif
 #if HAVE_HIREDIS