Skip to content
Snippets Groups Projects
Commit f00e5c6d authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

portability fixes for NetBSD (issue #5151)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent f77779b4
No related branches found
No related tags found
No related merge requests found
......@@ -33,10 +33,16 @@
#include <net/route.h>
#endif
#if defined (SOLARIS) || defined(__OpenBSD__)
#if defined(SOLARIS)
#include <sys/sockio.h>
/* netinet/ip.h does not define the following (See RFCs 791 and 1349) */
#endif
/* netinet/ip.h may not define the following (See RFCs 791 and 1349) */
#if !defined(IPTOS_LOWCOST)
#define IPTOS_LOWCOST 0x02
#endif
#if !defined(IPTOS_MINCOST)
#define IPTOS_MINCOST IPTOS_LOWCOST
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment