X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fmemcached_io.h;h=da253955d156db2c5b35458f894f0803076cf635;hb=7b548d21a8eafec0b830ad1bd6429cecd4eaeba8;hp=372357a937b7d30000d09cadd945b3ab91936176;hpb=c97c8525686219ecae254d6e6a4b8ccab0777269;p=awesomized%2Flibmemcached diff --git a/libmemcached/memcached_io.h b/libmemcached/memcached_io.h index 372357a9..da253955 100644 --- a/libmemcached/memcached_io.h +++ b/libmemcached/memcached_io.h @@ -1,8 +1,17 @@ -/* Server IO, Not public! */ -#include +/* + * Summary: Server IO, Not public! + * + * Copy: See Copyright for the status of this software. + * + * Author: Brian Aker + */ -#ifndef __MEMCACHED_IO_H__ -#define __MEMCACHED_IO_H__ +#ifndef LIBMEMCACHED_MEMCACHED_IO_H +#define LIBMEMCACHED_MEMCACHED_IO_H + +#if defined(BUILDING_LIBMEMCACHED) + +#include "libmemcached/memcached.h" #define MAX_UDP_DATAGRAM_LENGTH 1400 #define UDP_DATAGRAM_HEADER_LENGTH 8 @@ -46,4 +55,5 @@ memcached_return memcached_io_init_udp_header(memcached_server_st *ptr, memcached_server_st *memcached_io_get_readable_server(memcached_st *memc); -#endif /* __MEMCACHED_IO_H__ */ +#endif /* BUILDING_LIBMEMCACHED */ +#endif /* LIBMEMCACHED_MEMCACHED_IO_H */