X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=example%2Finterface_v1.cc;h=c6f5bf199f9c83929df65bb36cac3f5e83659ad9;hb=92d18858b417309f6bdee6bce464a4f3d6a375fd;hp=08d093885aa7097f4e50ba7f2d9f2fbfb2e0e665;hpb=93dec285cdb4aab2bff0bae0d50e033b69560181;p=awesomized%2Flibmemcached diff --git a/example/interface_v1.cc b/example/interface_v1.cc index 08d09388..c6f5bf19 100644 --- a/example/interface_v1.cc +++ b/example/interface_v1.cc @@ -2,13 +2,13 @@ /** * This file contains an implementation of the callback interface for level 1 * in the protocol library. If you compare the implementation with the one - * in interface_v0.c you will see that this implementation is much easier and + * in interface_v0.cc you will see that this implementation is much easier and * hides all of the protocol logic and let you focus on the application * logic. One "problem" with this layer is that it is synchronous, so that * you will not receive the next command before a answer to the previous * command is being sent. */ -#include "config.h" +#include "mem_config.h" #include #include @@ -17,8 +17,9 @@ #include #include #include -#include - +#if HAVE_UNISTD_H +# include +#endif #include #include #include "example/memcached_light.h"