- if (opt_servers == false)
+ if (opt_servers == NULL)
Also, while I don't find fault with the patch to byteorder.cc,
there is a more straightforward fix. The compilation error
arises because HAVE_HTONLL is defined, but sys/types.h
has not been included:
Umm, not quite. I think we just want:
- if (opt_servers == false)
+ if (opt_servers == NULL)
Also, while I don't find fault with the patch to byteorder.cc,
there is a more straightforward fix. The compilation error
arises because HAVE_HTONLL is defined, but sys/types.h
has not been included:
diff --git a/src/libmemcac hed/libmemcache d/byteorder. cc b/src/libmemcac hed/libmemcache d/byteorder. cc hed/libmemcache d/byteorder. cc hed/libmemcache d/byteorder. cc byteorder. h"
index 9f11aa8..cc5ff42 100644
--- a/src/libmemcac
+++ b/src/libmemcac
@@ -38,6 +38,10 @@
#include "mem_config.h"
#include "libmemcached/
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif