Permalink
Browse files

prevent compiler from including common.h more than once

  • Loading branch information...
benlemasurier committed Oct 26, 2011
1 parent 45a564d commit 006fe0b4c21595c039724e692954305dc27052fb
Showing with 3 additions and 1 deletion.
  1. +3 −1 common.h
View
@@ -1,3 +1,5 @@
+#ifndef MYSQLUDF_COMMON_H
+#define MYSQLUDF_COMMON_H
#define DLLEXP
#include <string.h>
@@ -22,4 +24,4 @@ typedef long long longlong;
#define ERRMSG_SIZE 1000
extern mongo mongodb_connection[1];
-
+#endif /* MYSQLUDF_COMMON_H */

0 comments on commit 006fe0b

Please sign in to comment.