On Dec 17, 2008 at 17:11, Vance Shipley <[email protected]> wrote:
> For Solaris defining BSD_COMP will include BSD flags such as FIONREAD.

I've commited another version: if filio.h exists, include it (on
solaris), else define BSD_COMP before including ioctl.h (but only in
tcp_main.c, not globaly).

Thanks,
Andrei


> Index: Makefile.defs
> ===================================================================
> RCS file: /cvsroot/ser/sip_router/Makefile.defs,v
> retrieving revision 1.436
> diff -u -r1.436 Makefile.defs
> --- Makefile.defs     3 Sep 2008 20:15:43 -0000       1.436
> +++ Makefile.defs     17 Dec 2008 21:49:36 -0000
> @@ -1424,7 +1424,7 @@
>  
>  ifeq  ($(OS), solaris)
>       DEFS+= -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD \
> -                     -DHAVE_ALLOCA_H -DUSE_SIGACTION
> +                     -DHAVE_ALLOCA_H -DUSE_SIGACTION -DBSD_COMP
>       ifneq ($(found_lock_method), yes)
>               DEFS+= -DUSE_PTHREAD_MUTEX  # try pthread sems
>               found_lock_method=yes

> _______________________________________________
> Serdev mailing list
> [email protected]
> http://lists.iptel.org/mailman/listinfo/serdev

_______________________________________________
Serdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/serdev

Reply via email to