From: Brian Aker Date: Fri, 19 Apr 2013 06:26:06 +0000 (-0700) Subject: Fix for Centos X-Git-Tag: 1.0.18~29^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=d75ea573873b3e4369306a59aa61b776ae9ff53f;p=m6w6%2Flibmemcached Fix for Centos --- diff --git a/tests/keys.hpp b/tests/keys.hpp index 37f7bafc..1034a672 100644 --- a/tests/keys.hpp +++ b/tests/keys.hpp @@ -2,7 +2,7 @@ * * Libmemcached library * - * Copyright (C) 2012 Data Differential, http://datadifferential.com/ + * Copyright (C) 2012-2013 Data Differential, http://datadifferential.com/ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -62,7 +62,7 @@ public: key_buffer.resize(padding +1); memset(&key_buffer[0], 'x', padding); -#ifdef HAVE_UUID_UUID_H +#if defined(HAVE_UUID_UUID_H) && HAVE_UUID_UUID_H if (HAVE_UUID_UUID_H) { uuid_t out;