Fix for Centos
authorBrian Aker <brian@tangent.org>
Fri, 19 Apr 2013 06:26:06 +0000 (23:26 -0700)
committerBrian Aker <brian@tangent.org>
Fri, 19 Apr 2013 06:26:06 +0000 (23:26 -0700)
tests/keys.hpp

index 37f7bafc1faac49e82627282ce7fcb2791ea2b9d..1034a672b0798b522e9c4baee5210e8e41c9a48e 100644 (file)
@@ -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;