--- libaitsched/inc/defs.h 2014/05/19 23:21:41 1.13.2.1 +++ libaitsched/inc/defs.h 2014/05/21 21:07:49 1.13.2.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: defs.h,v 1.13.2.1 2014/05/19 23:21:41 misho Exp $ +* $Id: defs.h,v 1.13.2.3 2014/05/21 21:07:49 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -63,6 +63,14 @@ SUCH DAMAGE. #define SIGRTMIN 65 #endif +#ifndef FIONWRITE +#define FIONWRITE SIOCOUTQ +#endif + +#ifndef TIMER_RELTIME +#define TIMER_RELTIME 0 +#endif + #ifndef __unused #define __unused __attribute__((unused)) #endif @@ -134,6 +142,14 @@ SUCH DAMAGE. (vvp)->tv_usec += 1000000; \ } \ } while (0) + + +#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 sched_Errno;