From: Brian Aker Date: Fri, 9 Sep 2011 17:58:47 +0000 (-0700) Subject: Misc fixes for build found on a few platforms. X-Git-Tag: 0.52~3 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=168fa12cd66705fe0525070400fdc3a4f75159e8;p=m6w6%2Flibmemcached Misc fixes for build found on a few platforms. --- diff --git a/libtest/is_local.hpp b/libtest/is_local.hpp index 30da3082..b3d07729 100644 --- a/libtest/is_local.hpp +++ b/libtest/is_local.hpp @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#pragma once + namespace libtest { LIBTEST_API diff --git a/libtest/is_pid.hpp b/libtest/is_pid.hpp index a4539bc0..aba66d69 100644 --- a/libtest/is_pid.hpp +++ b/libtest/is_pid.hpp @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#pragma once + static inline bool is_pid_valid(const pid_t pid) { return (pid > 1) ? true : false; diff --git a/libtest/stats.h b/libtest/stats.h index 3224d40d..7e7cdd07 100644 --- a/libtest/stats.h +++ b/libtest/stats.h @@ -21,6 +21,7 @@ #pragma once + struct Stats { int32_t collection_success; int32_t collection_skipped; diff --git a/support/libmemcached.spec.in b/support/libmemcached.spec.in index dedb2497..98cb0b91 100644 --- a/support/libmemcached.spec.in +++ b/support/libmemcached.spec.in @@ -262,6 +262,7 @@ you will need to install %{name}-devel. %{_mandir}/man3/memcached_stat.3.gz %{_mandir}/man3/memcached_stat_execute.3.gz %{_mandir}/man3/memcached_stat_get_keys.3.gz +%{_mandir}/man3/memcached_last_error_message.3.gz %{_mandir}/man3/memcached_stat_get_value.3.gz %{_mandir}/man3/memcached_stat_servername.3.gz %{_mandir}/man3/memcached_strerror.3.gz