Changeset 1374:62edbf82454a in roaraudio


Ignore:
Timestamp:
03/25/09 01:29:47 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

only include IPv4 headers if we have IPv4 networking enabled, only include socket headers if we have BSD Sockets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/libroar.h

    r1371 r1374  
    4747 
    4848#include <fcntl.h> 
     49 
     50#ifdef ROAR_HAVE_BSDSOCKETS 
     51 
    4952#ifndef ROAR_TARGET_WIN32 
    5053#include <sys/socket.h> 
     54#ifdef ROAR_HAVE_IPV4 
    5155#include <netinet/in_systm.h> 
    5256#include <netinet/in.h> 
    5357#include <netinet/ip.h> 
     58#endif 
    5459#include <sys/uio.h> 
    5560#endif 
     
    6166#include <netipx/ipx.h> 
    6267#endif 
     68 
     69#endif /* ROAR_HAVE_BSDSOCKETS */ 
    6370 
    6471#ifdef ROAR_HAVE_LIBSSL 
Note: See TracChangeset for help on using the changeset viewer.