X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Ftest.h;h=8bc4d7a9ab1e329d1650bb720e389dbea4759ff1;hb=9cfc3faa3f8471083350cecce7e49114ce827c89;hp=4e695d26ca468ca637f596155b0de1571ef0613b;hpb=899f5dd6c42feb31737f0242fb2abb51436bb712;p=awesomized%2Flibmemcached diff --git a/tests/test.h b/tests/test.h index 4e695d26..8bc4d7a9 100644 --- a/tests/test.h +++ b/tests/test.h @@ -1,6 +1,10 @@ /* Structures for generic tests. */ +#ifdef __cplusplus +extern "C" { + +#endif #include #include "../lib/common.h" @@ -22,3 +26,7 @@ struct collection_st { /* How we make all of this work :) */ collection_st *gets_collections(void); + +#ifdef __cplusplus +} +#endif