From d75ea573873b3e4369306a59aa61b776ae9ff53f Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Thu, 18 Apr 2013 23:26:06 -0700 Subject: [PATCH] Fix for Centos --- tests/keys.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2