Permalink
Browse files

Merge pull request #3 from evilrix/master

Added an include guard for the header file
  • Loading branch information...
2 parents bc05659 + 45a1295 commit d25a496df2771c7c045fe7844337fe77b8f00baf @RJ committed Aug 13, 2012
Showing with 11 additions and 0 deletions.
  1. +6 −0 libketama/debian/changelog
  2. +5 −0 libketama/ketama.h
@@ -1,3 +1,9 @@
+libketama (1.0-2) unstable; urgency=low
+
+ * Add include guard to ketama.h
+
+ -- Ricky Cormier <ricky@last.fm> Mon, 13 Aug 2012 12:20:57 +0000
+
libketama (1.0-1) unstable; urgency=low
* Initial release
View
@@ -26,6 +26,9 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef KETAMA_LIBKETAMA_KETAMA_H__
+#define KETAMA_LIBKETAMA_KETAMA_H__
+
#include <sys/sem.h> /* semaphore functions and structs. */
#define MC_SHMSIZE 524288 // 512KB should be ample.
@@ -111,3 +114,5 @@ char* ketama_error();
}
#endif
+#endif // KETAMA_LIBKETAMA_KETAMA_H__
+

0 comments on commit d25a496

Please sign in to comment.