For Solaris defining BSD_COMP will include BSD flags such as FIONREAD.

        -Vance
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

Reply via email to