Changeset 5951:b0e1eff45456 in roaraudio for include/roaraudio.h


Ignore:
Timestamp:
10/31/13 12:20:38 (10 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

more header cleanup: cleanup of #includes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/roaraudio.h

    r5823 r5951  
    7878#endif 
    7979 
    80 // TODO: can we move the next block into roard specific includes? 
    81 #if !defined(ROAR_TARGET_WIN32) && !defined(ROAR_TARGET_MICROCONTROLLER) 
    82 #include <grp.h> 
    83 #include <pwd.h> 
    84 #endif 
    85  
    8680#ifdef ROAR_HAVE_H_SYS_STAT 
    8781#include <sys/stat.h> 
    88 #endif 
    89  
    90 #ifdef ROAR_TARGET_WIN32 
    91 #include <winsock2.h> 
    92 #else /* ROAR_TARGET_WIN32 */ 
    93 #ifdef ROAR_HAVE_BSDSOCKETS 
    94  
    95 #ifdef ROAR_HAVE_H_SYS_SOCKET 
    96 #include <sys/socket.h> 
    97 #endif 
    98  
    99 #ifdef ROAR_HAVE_IPV4 
    100 #include <netinet/in.h> 
    101 #include <netinet/tcp.h> 
    102 #endif 
    103 #ifdef ROAR_HAVE_UNIX 
    104 #include <sys/un.h> 
    105 #endif 
    106  
    107 #if defined(ROAR_HAVE_IPV4) || defined(ROAR_HAVE_IPV6) 
    108 #include <arpa/inet.h> 
    109 #endif 
    110  
    111 #endif /* ROAR_HAVE_BSDSOCKETS */ 
    112 #endif /* ROAR_TARGET_WIN32 */ 
    113  
    114 #ifdef __NetBSD__ 
    115 #include <netinet/in_systm.h> 
    116 #endif 
    117  
    118 #if !defined(ROAR_TARGET_WIN32) && !defined(ROAR_TARGET_MICROCONTROLLER) 
    119 #include <netdb.h> 
    12082#endif 
    12183 
Note: See TracChangeset for help on using the changeset viewer.