summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/compat/socket.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-02-01 00:33:12 +0000
committerBenny Prijono <bennylp@teluu.com>2007-02-01 00:33:12 +0000
commit4c9fbd14de1ea36c638df692c1b1fd235c106d25 (patch)
tree88d2917ad3c733f6ec833aed263ee6ed86c6d010 /pjlib/include/pj/compat/socket.h
parent902ccf97f5c4ceccbcc8f5d5d6f71cf09aaa6eba (diff)
Implement ticket #83: socket TOS abstraction
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@920 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/compat/socket.h')
-rw-r--r--pjlib/include/pj/compat/socket.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pjlib/include/pj/compat/socket.h b/pjlib/include/pj/compat/socket.h
index e95bc125..e64afe8f 100644
--- a/pjlib/include/pj/compat/socket.h
+++ b/pjlib/include/pj/compat/socket.h
@@ -52,6 +52,11 @@
# include <netinet/in.h>
#endif
+#if defined(PJ_HAS_NETINET_IP_H) && PJ_HAS_NETINET_IP_H != 0
+/* To pull in IPTOS_* constants */
+# include <netinet/ip.h>
+#endif
+
#if defined(PJ_HAS_ARPA_INET_H) && PJ_HAS_ARPA_INET_H != 0
# include <arpa/inet.h>
#endif