diff options
author | Benny Prijono <bennylp@teluu.com> | 2010-01-13 21:28:06 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2010-01-13 21:28:06 +0000 |
commit | 708b962f108087a0823fadd01724604b58d34542 (patch) | |
tree | fb90e097bca6ebec2dbf0ef28dabd9a703916612 /pjlib/include/pj/compat | |
parent | 2c9bdd7e514a478d3dc17a6b85a12dec20c15fb0 (diff) |
Initial fixes for #993 (OpenSolaris issues)
- configure script patch for FIONBIO and SIOCGIFFLAGS errors
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3059 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/compat')
-rw-r--r-- | pjlib/include/pj/compat/os_auto.h.in | 2 | ||||
-rw-r--r-- | pjlib/include/pj/compat/socket.h | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/pjlib/include/pj/compat/os_auto.h.in b/pjlib/include/pj/compat/os_auto.h.in index f474d60f..2b414650 100644 --- a/pjlib/include/pj/compat/os_auto.h.in +++ b/pjlib/include/pj/compat/os_auto.h.in @@ -71,6 +71,8 @@ #undef PJ_HAS_SYS_TIME_H #undef PJ_HAS_SYS_TIMEB_H #undef PJ_HAS_SYS_TYPES_H +#undef PJ_HAS_SYS_FILIO_H +#undef PJ_HAS_SYS_SOCKIO_H #undef PJ_HAS_TIME_H #undef PJ_HAS_UNISTD_H diff --git a/pjlib/include/pj/compat/socket.h b/pjlib/include/pj/compat/socket.h index db3e5faa..f3d58876 100644 --- a/pjlib/include/pj/compat/socket.h +++ b/pjlib/include/pj/compat/socket.h @@ -139,6 +139,14 @@ # include <unistd.h> #endif +#if defined(PJ_HAS_SYS_FILIO_H) && PJ_HAS_SYS_FILIO_H != 0 +# include <sys/filio.h> +#endif + +#if defined(PJ_HAS_SYS_SOCKIO_H) && PJ_HAS_SYS_SOCKIO_H != 0 +# include <sys/sockio.h> +#endif + /* * Define common errors. |