Ignore:
Timestamp:
Aug 4, 2008 2:45:02 PM (16 years ago)
Author:
bennylp
Message:

Fixed build error on FreeBSD (cannot use <netinet/ip.h> if <netinet/in_systm.h> is not included)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/compat/socket.h

    r2039 r2190  
    9090#if defined(PJ_HAS_NETINET_IN_H) && PJ_HAS_NETINET_IN_H != 0 
    9191#  include <netinet/in.h> 
     92#endif 
     93 
     94#if defined(PJ_HAS_NETINET_IN_SYSTM_H) && PJ_HAS_NETINET_IN_SYSTM_H != 0 
     95/* Required to include netinet/ip.h in FreeBSD 7.0 */ 
     96#  include <netinet/in_systm.h> 
    9297#endif 
    9398 
Note: See TracChangeset for help on using the changeset viewer.