Ticket #344: libffado-gcc47.patch

File libffado-gcc47.patch, 2.5 kB (added by oget, 9 years ago)

compile fix

  • libffado-2.1.0/src/bebob/bebob_dl_mgr.cpp

    old new  
    3535 
    3636#include <cstdio> 
    3737#include <cstring> 
     38#include <unistd.h> 
    3839 
    3940namespace BeBoB { 
    4041    enum { 
  • libffado-2.1.0/src/ffadodevice.cpp

    old new  
    3434 
    3535#include <iostream> 
    3636#include <sstream> 
     37#include <unistd.h> 
    3738 
    3839#include <assert.h> 
    3940 
  • libffado-2.1.0/src/fireworks/fireworks_device.cpp

    old new  
    4545#define FIREWORKS_MIN_FIRMWARE_VERSION 0x04080000 
    4646 
    4747#include <sstream> 
     48#include <unistd.h> 
    4849using namespace std; 
    4950 
    5051// FireWorks is the platform used and developed by ECHO AUDIO 
  • libffado-2.1.0/src/libieee1394/IsoHandlerManager.cpp

    old new  
    3535#include "libutil/Configuration.h" 
    3636 
    3737#include <cstring> 
     38#include <unistd.h> 
    3839#include <assert.h> 
    3940 
    4041IMPL_DEBUG_MODULE( IsoHandlerManager, IsoHandlerManager, DEBUG_LEVEL_NORMAL ); 
  • libffado-2.1.0/src/libutil/PosixSharedMemory.cpp

    old new  
    2626#include <sys/mman.h> 
    2727#include <errno.h> 
    2828#include <string.h> 
     29#include <unistd.h> 
    2930#include <fcntl.h> 
    3031 
    3132namespace Util { 
  • libffado-2.1.0/support/dbus/test-dbus.cpp

    old new  
    2424#include <argp.h> 
    2525#include <stdlib.h> 
    2626#include <iostream> 
     27#include <unistd.h> 
    2728#include <signal.h> 
    2829 
    2930#include "controlclient.h"