--- ansh/inc/defs.h 2011/10/31 15:49:37 1.2.2.1 +++ ansh/inc/defs.h 2015/05/19 23:25:29 1.5 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ - * $Id: defs.h,v 1.2.2.1 2011/10/31 15:49:37 misho Exp $ + * $Id: defs.h,v 1.5 2015/05/19 23:25:29 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 +Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -47,7 +47,10 @@ SUCH DAMAGE. #define __DEFS_H +#ifndef STRSIZ #define STRSIZ 256 +#endif + #define PIDFILE_ANSHD "/var/run/anshd.pid" #define PIDFILE_ANSH3D "/var/run/ansh3d.pid" @@ -77,8 +80,8 @@ struct tagProc { pid_t proc_pid; int proc_sock; - io_sockaddr_t proc_cli; - io_ether_addr_t proc_ea; + sockaddr_t proc_cli; + ether_addr_t proc_ea; u_short proc_blen; u_char *proc_buf_[2];