--- embedaddon/miniupnpd/testgetifstats.c 2012/02/21 23:16:02 1.1.1.1 +++ embedaddon/miniupnpd/testgetifstats.c 2013/07/22 00:32:35 1.1.1.2 @@ -1,7 +1,7 @@ -/* $Id: testgetifstats.c,v 1.1.1.1 2012/02/21 23:16:02 misho Exp $ */ +/* $Id: testgetifstats.c,v 1.1.1.2 2013/07/22 00:32:35 misho Exp $ */ /* MiniUPnP project * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ - * (c) 2006 Thomas Bernard + * (c) 2006 Thomas Bernard * This software is subject to the conditions detailed * in the LICENCE file provided within the distribution */ @@ -10,6 +10,11 @@ #include #include "getifstats.h" + +#if defined(__sun) +/* solaris 10 does not define LOG_PERROR */ +#define LOG_PERROR 0 +#endif int main(int argc, char **argv)