--- libaitmqtt/inc/defs.h 2013/07/18 15:02:51 1.3.4.1 +++ libaitmqtt/inc/defs.h 2016/09/14 15:52:36 1.4.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: defs.h,v 1.3.4.1 2013/07/18 15:02:51 misho Exp $ +* $Id: defs.h,v 1.4.2.1 2016/09/14 15:52:36 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 +Copyright 2004 - 2016 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -61,6 +61,13 @@ SUCH DAMAGE. mqtt_Errno = errno; \ strlcpy(mqtt_Error, strerror(errno), sizeof mqtt_Error); \ } + +#ifndef HAVE_STRLCAT +size_t strlcat(char * __restrict dst, const char * __restrict src, size_t siz); +#endif +#ifndef HAVE_STRLCPY +size_t strlcpy(char * __restrict dst, const char * __restrict src, size_t siz); +#endif extern int mqtt_Errno;