Browse files

ifdef protection

  • Loading branch information...
1 parent 3cf7b66 commit 69ace792e70730cd29f4db8782bf08b4e8b8e6a9 @ladypine committed Nov 21, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 memcached.h
View
3 memcached.h
@@ -4,6 +4,8 @@
* The main memcached header holding commonly used data
* structures and function prototypes.
*/
+#ifndef MEMCACHED_H
+#define MEMCACHED_H
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -562,3 +564,4 @@ extern void drop_privileges(void);
#define likely(x) __builtin_expect((x),1)
#define unlikely(x) __builtin_expect((x),0)
+#endif

0 comments on commit 69ace79

Please sign in to comment.