Changeset 6046:7782f552c25c in roaraudio


Ignore:
Timestamp:
11/10/14 13:23:43 (5 years ago)
Author:
phi
Branch:
default
Message:

Moved include of <sys/socket.h> around to re-enable build on *BSD (pr1)

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r6044 r6046  
    88        * Changed ABI version of roard because of updates on light_dmxchannel_*(). 
    99        * Correct output of roar-config --cflags and --libs (pr1) 
     10        * Moved include of <sys/socket.h> around to re-enable build on *BSD (pr1) 
    1011 
    1112v. 1.0beta11 - Tue Jan 21 2014 21:04 CET 
  • include/libroar/libroar.h

    r6024 r6046  
    7575#elif defined(ROAR_HAVE_BSDSOCKETS) 
    7676 
    77 #ifdef ROAR_HAVE_H_SYS_SOCKET 
    78 #include <sys/socket.h> 
    79 #endif 
     77// <sys/socket.h> is included in <roaraudio.h> as it is required early. 
    8078 
    8179#ifdef ROAR_HAVE_IPV4 
  • include/roaraudio.h

    r5961 r6046  
    7171#ifdef ROAR_HAVE_H_SYS_TYPES 
    7272#include <sys/types.h> 
     73#endif 
     74 
     75#ifdef ROAR_HAVE_H_SYS_SOCKET 
     76#include <sys/socket.h> 
    7377#endif 
    7478 
Note: See TracChangeset for help on using the changeset viewer.